diff options
| author | Ray <[email protected]> | 2021-02-26 13:40:43 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-02-26 13:40:43 +0100 |
| commit | 58e4efbba857c8625f60a7d816fc2f7cfd36e124 (patch) | |
| tree | 2cf1ef2e8eefb4ac304716764c45a4c320931ae8 /src | |
| parent | 4e1c7a9f4652038a29123cfb0aae44e2e4bae14b (diff) | |
| download | raylib-58e4efbba857c8625f60a7d816fc2f7cfd36e124.tar.gz raylib-58e4efbba857c8625f60a7d816fc2f7cfd36e124.zip | |
Review bug on OpenGL 1.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 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; |
