diff options
Diffstat (limited to 'src/effects/OpacityMask.qml')
-rw-r--r-- | src/effects/OpacityMask.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/OpacityMask.qml b/src/effects/OpacityMask.qml index d338350..4ea63e8 100644 --- a/src/effects/OpacityMask.qml +++ b/src/effects/OpacityMask.qml @@ -77,8 +77,8 @@ Item { fragmentShader: " varying highp vec2 qt_TexCoord0; uniform highp float qt_Opacity; - uniform sampler2D source; - uniform sampler2D maskSource; + uniform lowp sampler2D source; + uniform lowp sampler2D maskSource; void main(void) { gl_FragColor = texture2D(source, qt_TexCoord0.st) * (texture2D(maskSource, qt_TexCoord0.st).a) * qt_Opacity; } |