summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChaosus <chaosus89@gmail.com>2017-11-25 23:18:01 +0300
committerChaosus <chaosus89@gmail.com>2017-11-26 22:02:40 +0300
commit284f8f6d91d7c9663fe8b25aa652265579b412a6 (patch)
tree8b0927159734012b77e156c6fc8ef8274c4851ee /drivers
parent9738ebcda047fd9b4ddf71a0da5d682ade1a2666 (diff)
Fixed invalid transform when skip_vertex_transform used
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/shaders/scene.glsl5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl
index a3792371af..e5793e47fc 100644
--- a/drivers/gles3/shaders/scene.glsl
+++ b/drivers/gles3/shaders/scene.glsl
@@ -458,12 +458,7 @@ VERTEX_SHADER_CODE
#endif //RENDER_DEPTH
-
-#if !defined(SKIP_TRANSFORM_USED) && !defined(RENDER_DEPTH_DUAL_PARABOLOID)
gl_Position = projection_matrix * vec4(vertex_interp,1.0);
-#else
- gl_Position = vertex;
-#endif
position_interp=gl_Position;