aboutsummaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-04 15:09:44 +0100
committerraysan5 <raysan5@gmail.com>2016-01-04 15:09:44 +0100
commit95da97fa744766fb46b912dcae504cd858fd2377 (patch)
treedbba1389ede534db6f24169af413acbcfd1b79da /src/textures.c
parent546c727520d8116132e57fd5e007dd7d873ba9a1 (diff)
downloadraylib-95da97fa744766fb46b912dcae504cd858fd2377.tar.gz
raylib-95da97fa744766fb46b912dcae504cd858fd2377.zip
Fixed bug: rlglGenerateMipmaps()
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c4
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
}