Uses skip_transform in gles2 canvas shader

This commit is contained in:
muiroc 2018-09-30 17:20:20 +02:00
parent ce8294986d
commit 9a5d867210

View File

@ -89,9 +89,14 @@ VERTEX_SHADER_CODE
/* clang-format on */
}
#if !defined(SKIP_TRANSFORM_USED)
outvec = extra_matrix * outvec;
outvec = modelview_matrix * outvec;
#endif
color_interp = color;
gl_Position = projection_matrix * modelview_matrix * outvec;
gl_Position = projection_matrix * outvec;
}
/* clang-format off */