GLES shader fixes

This commit is contained in:
Jörg Walter 2018-03-29 21:07:51 +02:00
parent f0f768cc74
commit fa81ebeece
5 changed files with 36 additions and 0 deletions

View file

@ -28,6 +28,13 @@ vertex =
}
fragment =
#ifdef GL_ES
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif // GL_FRAGMENT_PRECISION_HIGH
#endif // GL_ES
varying lowp vec4 v_color;
varying float v_line_type;