aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
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/rlgl.h
parent546c727520d8116132e57fd5e007dd7d873ba9a1 (diff)
downloadraylib-95da97fa744766fb46b912dcae504cd858fd2377.tar.gz
raylib-95da97fa744766fb46b912dcae504cd858fd2377.zip
Fixed bug: rlglGenerateMipmaps()
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index a7df043e..93b56bb2 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -246,7 +246,7 @@ void rlglInitGraphics(int offsetX, int offsetY, int width, int height); // Init
unsigned int rlglLoadTexture(void *data, int width, int height, int textureFormat, int mipmapCount); // Load texture in GPU
void rlglUpdateTexture(unsigned int id, int width, int height, int format, void *data); // Update GPU texture with new data
-void rlglGenerateMipmaps(unsigned int textureId); // Generate mipmap data for selected texture
+void rlglGenerateMipmaps(Texture2D texture); // Generate mipmap data for selected texture
// NOTE: There is a set of shader related functions that are available to end user,
// to avoid creating function wrappers through core module, they have been directly declared in raylib.h