Merge pull request #13290 from Chaosus/projectionfix

Fix invalid transform when skip_vertex_transform used
This commit is contained in:
Rémi Verschelde 2017-11-26 21:31:02 +01:00 committed by GitHub
commit 4a1d1cbbb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;