Review bug on OpenGL 1.1
This commit is contained in:
parent
4e1c7a9f46
commit
58e4efbba8
1 changed files with 1 additions and 1 deletions
|
@ -2429,7 +2429,7 @@ void rlGenerateMipmaps(Texture2D *texture)
|
|||
|
||||
// NOTE: Texture data size is reallocated to fit mipmaps data
|
||||
// NOTE: CPU mipmap generation only supports RGBA 32bit data
|
||||
int mipmapCount = GenerateMipmaps(data, texture->width, texture->height);
|
||||
int mipmapCount = GenerateMipmaps(texData, texture->width, texture->height);
|
||||
|
||||
int size = texture->width*texture->height*4;
|
||||
int offset = size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue