Add #ifdefs for GL_ES in stock frag shader.

This commit is contained in:
Themaister 2012-09-13 19:55:42 +02:00
parent df69517d79
commit d8a89fe20e

View File

@ -159,6 +159,9 @@ static const char *stock_vertex_modern =
"}";
static const char *stock_fragment_modern =
"#ifdef GL_ES\n"
"precision mediump float;\n"
"#endif\n"
"uniform sampler2D rubyTexture;\n"
"varying vec2 tex_coord;\n"
"varying vec4 color;\n"