summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-26 21:31:02 +0100
committerGitHub <noreply@github.com>2017-11-26 21:31:02 +0100
commit4a1d1cbbb4e462a016d87acb316b5ae12984fe81 (patch)
treea2e25351cba696ad057a06f379a54a662d861d92
parent3b2e423c6f2acd14a13befd60dd45df4a244d55f (diff)
parent284f8f6d91d7c9663fe8b25aa652265579b412a6 (diff)
Merge pull request #13290 from Chaosus/projectionfix
Fix invalid transform when skip_vertex_transform used
-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 b7f205d8bb..b2b10fdb11 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;