(GLSL) Add precision hack for GLES

This commit is contained in:
Twinaphex 2015-10-29 01:38:43 +01:00
parent ebd60c69e2
commit 89d5eaa7c8
1 changed files with 3 additions and 0 deletions

View File

@ -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"