remove ifdef from glsl in glview shader - ifdefs not universally supported

This commit is contained in:
Carsten Haitzler 2013-09-11 08:53:02 +09:00
parent 9368d61549
commit d3861179f6
2 changed files with 0 additions and 6 deletions

View File

@ -327,9 +327,6 @@ static const char vertex_shader[] =
"}\n";
static const char fragment_shader[] =
"#ifdef GL_ES\n"
"precision mediump float;\n"
"#endif\n"
"uniform vec4 color;\n"
"uniform vec3 light;\n"
"varying vec3 rotated_normal;\n"

View File

@ -70,9 +70,6 @@ init_shaders(GLData *gld)
"} \n";
GLbyte fShaderStr[] =
"#ifdef GL_ES \n"
"precision mediump float; \n"
"#endif \n"
"void main() \n"
"{ \n"
" gl_FragColor = vec4 ( 1.0, 0.0, 0.0, 1.0 );\n"