diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-06-02 17:14:56 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-06-03 10:17:12 +0300 |
commit | 717b636fd122667014c0b863f78faecda1a0b1de (patch) | |
tree | 770ce59be184c91f9ce5bbf520376e593388e02d | |
parent | 7cfc9355cb22e5ac92529b077215f36b60048d04 (diff) |
Fix unwanted translucency in the demo launcher
The emulator window has translucency enabled. This means writing a < 1.0 alpha
value through some shader will lead to seeing through to whatever is behind the
window.
This will fix the launcher's "pulsating" effect. Some of the demo apps may suffer
from similar issues, those have to be fixed separately.
Task-number: QTEE-583
Change-Id: I2712bdcded2ae67bd3fe57f636f5aafaa7da2b62
Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
-rw-r--r-- | qml/ApplicationIcon.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ApplicationIcon.qml b/qml/ApplicationIcon.qml index 9fdcbdf..81298b7 100644 --- a/qml/ApplicationIcon.qml +++ b/qml/ApplicationIcon.qml @@ -83,7 +83,7 @@ Item { varying highp vec2 v_TexCoord; void main() { - gl_FragColor = texture2D(source, v_TexCoord) * qt_Opacity * selection; + gl_FragColor = vec4(texture2D(source, v_TexCoord).rgb * selection, 1.0) * qt_Opacity; } " } |