QImage when uploaded to a texture using glTexImage2D is flipped
authorJørgen <jorgen.lind@nokia.com>
Tue, 3 Jan 2012 09:28:27 +0000 (10:28 +0100)
committerJørgen Lind <jorgen.lind@nokia.com>
Wed, 4 Jan 2012 09:33:37 +0000 (10:33 +0100)
Change-Id: I95a5c1d34a7233c0cfd58bc29183d8cd4396addd
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/compositor/wayland_wrapper/wlsurface.cpp

index 04f87ef..21f2d31 100644 (file)
@@ -317,8 +317,7 @@ bool Surface::isYInverted() const
         }
     }
 #endif
-    //shm surfaces are not flipped (in our "world")
-    return false;
+    return true;
 }
 
 bool Surface::visible() const