Fixed inverted textures in qml-compositor.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 16 May 2012 19:44:47 +0000 (21:44 +0200)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Thu, 17 May 2012 06:49:05 +0000 (08:49 +0200)
qml-compositor now shows applications the same way as
qwindow-compositor.

Change-Id: If5e53863969830cbd22916e50447b4f05d0a245a
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
examples/qml-compositor/ContrastEffect.qml

index 8987a56..1273c3a 100644 (file)
@@ -51,7 +51,7 @@ ShaderEffect {
         }
     }
 
-    property string vShader: "
+    property string vShaderInvertedY: "
     uniform highp mat4 qt_Matrix;
     attribute highp vec4 qt_Vertex;
     attribute highp vec2 qt_MultiTexCoord0;
@@ -61,7 +61,7 @@ ShaderEffect {
         gl_Position = qt_Matrix * qt_Vertex;
     }
     "
-    property string vShaderInvertedY: "
+    property string vShader: "
     uniform highp mat4 qt_Matrix;
     attribute highp vec4 qt_Vertex;
     attribute highp vec2 qt_MultiTexCoord0;