Fix shader on Mac OS X.

This commit is contained in:
Ghislain MARY 2017-02-08 17:25:12 +01:00
parent 2e8472eb52
commit 267fa69ede

View file

@ -36,7 +36,9 @@ Item {
// See: https://www.opengl.org/sdk/docs/man/html/mix.xhtml
fragmentShader: '
#ifdef GL_ES
precision lowp float;
#endif
uniform sampler2D image;
uniform sampler2D mask;
uniform vec4 backgroundColor;