(GLSL) Add precision hack for GLES
This commit is contained in:
parent
ebd60c69e2
commit
89d5eaa7c8
|
@ -158,6 +158,9 @@ static const char *stock_fragment_legacy =
|
|||
"}";
|
||||
|
||||
static const char *stock_vertex_modern_blend =
|
||||
"#ifdef GL_ES\n"
|
||||
"precision mediump float;\n"
|
||||
"#endif\n"
|
||||
"attribute vec2 TexCoord;\n"
|
||||
"attribute vec2 VertexCoord;\n"
|
||||
"attribute vec4 Color;\n"
|
||||
|
|
Loading…
Reference in New Issue