Uses skip_transform in gles2 canvas shader
This commit is contained in:
parent
ce8294986d
commit
9a5d867210
1 changed files with 6 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue