Commit b2b31b88 authored by Ghislain MARY's avatar Ghislain MARY

Fix shader on Windows.

parent fdf298a7
...@@ -36,13 +36,14 @@ Item { ...@@ -36,13 +36,14 @@ 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: '
uniform lowp sampler2D image; precision lowp float;
uniform lowp sampler2D mask; uniform sampler2D image;
uniform lowp vec4 backgroundColor; uniform sampler2D mask;
uniform lowp vec4 foregroundColor; uniform vec4 backgroundColor;
uniform vec4 foregroundColor;
uniform lowp float qt_Opacity; uniform float qt_Opacity;
varying highp vec2 qt_TexCoord0; varying vec2 qt_TexCoord0;
void main () { void main () {
vec4 tex = texture2D(image, qt_TexCoord0); vec4 tex = texture2D(image, qt_TexCoord0);
......
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