From a29365ff2a4e597bf6cb046ea6d51bfa09e1df42 Mon Sep 17 00:00:00 2001 From: Ray San Date: Fri, 20 Oct 2017 18:24:50 +0200 Subject: Updated all web examples for raylib 1.8 --- examples/web/shaders/shaders_custom_uniform.data | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/web/shaders/shaders_custom_uniform.data') diff --git a/examples/web/shaders/shaders_custom_uniform.data b/examples/web/shaders/shaders_custom_uniform.data index 6a4dab6..3aaa405 100644 --- a/examples/web/shaders/shaders_custom_uniform.data +++ b/examples/web/shaders/shaders_custom_uniform.data @@ -60426,8 +60426,9 @@ uniform vec4 colDiffuse; // NOTE: Add here your custom variables -const float renderWidth = 800.0; // HARDCODED for example! -const float renderHeight = 480.0; // Use uniforms instead... +// NOTE: Render size values should be passed from code +const float renderWidth = 800; +const float renderHeight = 450; float radius = 250.0; float angle = 0.8; -- cgit v1.2.3