diff options
| author | raysan5 <raysan5@gmail.com> | 2016-01-04 15:09:44 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-01-04 15:09:44 +0100 |
| commit | 95da97fa744766fb46b912dcae504cd858fd2377 (patch) | |
| tree | dbba1389ede534db6f24169af413acbcfd1b79da /src/textures.c | |
| parent | 546c727520d8116132e57fd5e007dd7d873ba9a1 (diff) | |
| download | raylib-95da97fa744766fb46b912dcae504cd858fd2377.tar.gz raylib-95da97fa744766fb46b912dcae504cd858fd2377.zip | |
Fixed bug: rlglGenerateMipmaps()
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textures.c b/src/textures.c index 30ffb945..f03d2d9a 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1271,9 +1271,9 @@ void GenTextureMipmaps(Texture2D texture) { TraceLog(WARNING, "Limited NPOT support, no mipmaps available for NPOT textures"); } - else rlglGenerateMipmaps(texture.id); + else rlglGenerateMipmaps(texture); #else - rlglGenerateMipmaps(texture.id); + rlglGenerateMipmaps(texture); #endif } |
