diff options
author | Chaosus <chaosus89@gmail.com> | 2017-11-25 23:18:01 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2017-11-26 22:02:40 +0300 |
commit | 284f8f6d91d7c9663fe8b25aa652265579b412a6 (patch) | |
tree | 8b0927159734012b77e156c6fc8ef8274c4851ee /drivers/gles3 | |
parent | 9738ebcda047fd9b4ddf71a0da5d682ade1a2666 (diff) |
Fixed invalid transform when skip_vertex_transform used
Diffstat (limited to 'drivers/gles3')
-rw-r--r-- | drivers/gles3/shaders/scene.glsl | 5 |
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; |