Commit 267fa69e authored by Ghislain MARY's avatar Ghislain MARY

Fix shader on Mac OS X.

parent 2e8472eb
...@@ -36,7 +36,9 @@ Item { ...@@ -36,7 +36,9 @@ Item {
// See: https://www.opengl.org/sdk/docs/man/html/mix.xhtml // See: https://www.opengl.org/sdk/docs/man/html/mix.xhtml
fragmentShader: ' fragmentShader: '
#ifdef GL_ES
precision lowp float; precision lowp float;
#endif
uniform sampler2D image; uniform sampler2D image;
uniform sampler2D mask; uniform sampler2D mask;
uniform vec4 backgroundColor; uniform vec4 backgroundColor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment