Fixed shader compilation on GLES

This commit is contained in:
Mergul 2020-05-13 21:30:56 +02:00
parent c29ace661b
commit d26c940b80

View file

@ -99,7 +99,7 @@ void main() {
uv = tex_coords * uv_transform.zw + uv_transform.xy; uv = tex_coords * uv_transform.zw + uv_transform.xy;
#endif #endif
color = vcolor * 2; color = vcolor * 2.0;
gl_Position = vec4(position.xy,depth,1.0); gl_Position = vec4(position.xy,depth,1.0);