mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 10:59:39 +00:00
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:
parent
28aadcad4e
commit
12d66a7d54
1 changed files with 2 additions and 1 deletions
|
@ -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)"
|
||||
"{"
|
||||
|
|
Loading…
Reference in a new issue