summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_custom_uniform.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-17 12:17:35 +0100
committerRay <[email protected]>2021-03-17 12:17:35 +0100
commit23b966d5155c721b71447ddb5129f9a3424ce5fb (patch)
treecdb63a53df1a177a28b63deffbc5650a6f77adcf /examples/web/shaders/shaders_custom_uniform.c
parent0ae8e4d606b8d9bd41f875f9395fcf3bfa1c9121 (diff)
downloadraylib.com-23b966d5155c721b71447ddb5129f9a3424ce5fb.tar.gz
raylib.com-23b966d5155c721b71447ddb5129f9a3424ce5fb.zip
Update examples to use latest enum values
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
//----------------------------------------------------------------------------------