summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-12-25 02:01:13 +0100
committerraysan5 <[email protected]>2016-12-25 02:01:13 +0100
commit852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3 (patch)
tree22ef03c6f32341a6847fe3a31afd7d11a1031a84 /src/rlgl.h
parent6d6c542a1dabfddc988c20de669c8a5e4d9b04a0 (diff)
downloadraylib-852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3.tar.gz
raylib-852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3.zip
Review comments and formatting
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 bc12db0f..b7c9df00 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -370,7 +370,7 @@ void rlglLoadExtensions(void *loader); // Load OpenGL extensions
unsigned int rlglLoadTexture(void *data, int width, int height, int textureFormat, int mipmapCount); // Load texture in GPU
RenderTexture2D rlglLoadRenderTexture(int width, int height); // Load a texture to be used for rendering (fbo with color and depth attachments)
-void rlglUpdateTexture(unsigned int id, int width, int height, int format, void *data); // Update GPU texture with new data
+void rlglUpdateTexture(unsigned int id, int width, int height, int format, const void *data); // Update GPU texture with new data
void rlglGenerateMipmaps(Texture2D *texture); // Generate mipmap data for selected texture
void rlglLoadMesh(Mesh *mesh, bool dynamic); // Upload vertex data into GPU and provided VAO/VBO ids