summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_custom_uniform.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 18:12:57 +0200
committerRay <[email protected]>2022-08-02 18:12:57 +0200
commit5840cd6e50890fdc8bb964cf4ed86524f1ca1675 (patch)
tree067450e2987cf577d6eba56b49608f6b4e52a2e2 /examples/shaders/shaders_custom_uniform.c
parentdf5514088eaa7e5e7d2d589f4adc278897106ddc (diff)
downloadraylib-5840cd6e50890fdc8bb964cf4ed86524f1ca1675.tar.gz
raylib-5840cd6e50890fdc8bb964cf4ed86524f1ca1675.zip
Remove unneeded comment
Diffstat (limited to 'examples/shaders/shaders_custom_uniform.c')
-rw-r--r--examples/shaders/shaders_custom_uniform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shaders/shaders_custom_uniform.c b/examples/shaders/shaders_custom_uniform.c
index 802ec3ba..401328e0 100644
--- a/examples/shaders/shaders_custom_uniform.c
+++ b/examples/shaders/shaders_custom_uniform.c
@@ -78,6 +78,8 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
+ UpdateCamera(&camera);
+
Vector2 mousePosition = GetMousePosition();
swirlCenter[0] = mousePosition.x;
@@ -85,8 +87,6 @@ int main(void)
// Send new value to the shader to be used on drawing
SetShaderValue(shader, swirlCenterLoc, swirlCenter, SHADER_UNIFORM_VEC2);
-
- UpdateCamera(&camera); // Update camera
//----------------------------------------------------------------------------------
// Draw