aboutsummaryrefslogtreecommitdiff
path: root/examples/shaders_custom_uniform.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shaders_custom_uniform.lua')
-rw-r--r--examples/shaders_custom_uniform.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders_custom_uniform.lua b/examples/shaders_custom_uniform.lua
index b4e4d483..fb93adc1 100644
--- a/examples/shaders_custom_uniform.lua
+++ b/examples/shaders_custom_uniform.lua
@@ -66,7 +66,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC key
-- Send new value to the shader to be used on drawing
SetShaderValue(shader, swirlCenterLoc, swirlCenter, 2)
- UpdateCamera(camera) -- Update internal camera and our camera
+ camera = UpdateCamera(camera) -- Update internal camera and our camera
---------------------------------------------------------------------------------------
-- Draw