summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_custom_uniform.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shaders/shaders_custom_uniform.c')
-rw-r--r--examples/shaders/shaders_custom_uniform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_custom_uniform.c b/examples/shaders/shaders_custom_uniform.c
index de76a376..fbfd82d0 100644
--- a/examples/shaders/shaders_custom_uniform.c
+++ b/examples/shaders/shaders_custom_uniform.c
@@ -79,7 +79,7 @@ int main()
swirlCenter[1] = screenHeight - mousePosition.y;
// Send new value to the shader to be used on drawing
- SetShaderValue(shader, swirlCenterLoc, swirlCenter, 2);
+ SetShaderValue(shader, swirlCenterLoc, swirlCenter, UNIFORM_VEC2);
UpdateCamera(&camera); // Update camera
//----------------------------------------------------------------------------------