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