@@ -757,7 +757,7 @@ RLAPI void rlUpdateTexture(unsigned int id, int offsetX, int offsetY, int width,
757
757
RLAPI void rlGetGlTextureFormats (int format , unsigned int * glInternalFormat , unsigned int * glFormat , unsigned int * glType ); // Get OpenGL internal formats
758
758
RLAPI const char * rlGetPixelFormatName (unsigned int format ); // Get name string for pixel format
759
759
RLAPI void rlUnloadTexture (unsigned int id ); // Unload texture from GPU memory
760
- RLAPI void rlGenTextureMipmaps (unsigned int id , int width , int height , int format , int * mipmaps ); // Generate mipmap data for selected texture
760
+ RLAPI void rlGenTextureMipmaps (unsigned int id , int width , int height , int * mipmaps ); // Generate mipmap data for selected texture
761
761
RLAPI void * rlReadTexturePixels (unsigned int id , int width , int height , int format ); // Read texture pixel data
762
762
RLAPI unsigned char * rlReadScreenPixels (int width , int height ); // Read screen pixel data (color buffer)
763
763
@@ -3569,7 +3569,7 @@ void rlUnloadTexture(unsigned int id)
3569
3569
3570
3570
// Generate mipmap data for selected texture
3571
3571
// NOTE: Only supports GPU mipmap generation
3572
- void rlGenTextureMipmaps (unsigned int id , int width , int height , int format , int * mipmaps )
3572
+ void rlGenTextureMipmaps (unsigned int id , int width , int height , int * mipmaps )
3573
3573
{
3574
3574
#if defined(GRAPHICS_API_OPENGL_33 ) || defined(GRAPHICS_API_OPENGL_ES2 )
3575
3575
glBindTexture (GL_TEXTURE_2D , id );
0 commit comments