From 6e68c86ba6638011dbddc6b77cc5e48da7a83fee Mon Sep 17 00:00:00 2001 From: Ferenc Arn Date: Mon, 30 Oct 2017 20:48:33 -0400 Subject: Add viewport to the other SceneData struct. This was missed in #12288. --- drivers/gles3/shaders/scene.glsl | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gles3/shaders') diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index 41966fd565..9880663143 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -665,6 +665,7 @@ layout(std140) uniform SceneData { highp float shadow_dual_paraboloid_render_zfar; highp float shadow_dual_paraboloid_render_side; + highp vec2 viewport_size; highp vec2 screen_pixel_size; highp vec2 shadow_atlas_pixel_size; highp vec2 directional_shadow_pixel_size; -- cgit v1.2.3