eglglessink: Add float precision specifier to fragment shader

This is required by GLES and fixes compilation of fragment
shader prog.
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-09-17 10:56:14 -03:00 committed by Sebastian Dröge
parent 28aadcad4e
commit 12d66a7d54

View file

@ -147,7 +147,8 @@ static const char *vert_prog = {
};
static const char *frag_prog = {
"varying vec2 opos;"
"precision mediump float;"
"varying vec2 opos;"
"uniform sampler2D tex;"
"void main(void)"
"{"