diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-03-21 12:14:17 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-03-21 12:14:17 +0100 |
commit | f1cef66c01f9017382f7f3aefa9b47441cc4cc71 (patch) | |
tree | bff138df7c08312c96e831df4e02be3f11d2af77 /virtualkeyboard/content | |
parent | a4f94761550f18a651b97aa04134f2c59b1d74eb (diff) |
Fix compile bug in icon shader
Diffstat (limited to 'virtualkeyboard/content')
-rw-r--r-- | virtualkeyboard/content/components/Icon.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virtualkeyboard/content/components/Icon.qml b/virtualkeyboard/content/components/Icon.qml index 0ed7606..089090d 100644 --- a/virtualkeyboard/content/components/Icon.qml +++ b/virtualkeyboard/content/components/Icon.qml @@ -49,12 +49,12 @@ ShaderEffect { height: image.implicitHeight fragmentShader: " - uniform lowp bool invert; + uniform bool invert; uniform lowp float qt_Opacity; uniform lowp sampler2D texture; varying highp vec2 qt_TexCoord0; void main() { - vec4 color = texture2D(texture, qt_TexCoord0) * qt_Opacity; + lowp vec4 color = texture2D(texture, qt_TexCoord0) * qt_Opacity; if (invert) gl_FragColor = vec4(vec3(1.0) - color.rgb, 1.0) * color.a; else |