aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:42:06 +0100
committeruser <email>2017-12-14 11:42:06 +0100
commit69c8fa409a6eed0c6b041d288d40e25b4dbda740 (patch)
treebaca029ababa332c8066e226b4e090a9fe9abcd1 /src
parent54587d7fdb6bf250c70f6a5eb653496e9bdf24ea (diff)
downloadraylib-69c8fa409a6eed0c6b041d288d40e25b4dbda740.tar.gz
raylib-69c8fa409a6eed0c6b041d288d40e25b4dbda740.zip
fixed function declaration differ from implementation
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 2e67c699..90d6a71b 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -456,8 +456,8 @@ Texture2D GetTextureDefault(void); // Get default texture
// Shader configuration functions
int GetShaderLocation(Shader shader, const char *uniformName); // Get shader uniform location
-void SetShaderValue(Shader shader, int uniformLoc, float *value, int size); // Set shader uniform value (float)
-void SetShaderValuei(Shader shader, int uniformLoc, int *value, int size); // Set shader uniform value (int)
+void SetShaderValue(Shader shader, int uniformLoc, const float *value, int size); // Set shader uniform value (float)
+void SetShaderValuei(Shader shader, int uniformLoc, const int *value, int size); // Set shader uniform value (int)
void SetShaderValueMatrix(Shader shader, int uniformLoc, Matrix mat); // Set shader uniform value (matrix 4x4)
void SetMatrixProjection(Matrix proj); // Set a custom projection matrix (replaces internal projection matrix)
void SetMatrixModelview(Matrix view); // Set a custom modelview matrix (replaces internal modelview matrix)