summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-10-07 21:07:59 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-25 17:52:16 (GMT)
commit9598483764d0c95751abcfb384422916b64fd283 (patch)
treef6d51be8559aa8362cae7174092554a74292c4dc
parente53dd775ae46b99d61e3aebe0de6b48f94f89678 (diff)
downloadQt-9598483764d0c95751abcfb384422916b64fd283.zip
Qt-9598483764d0c95751abcfb384422916b64fd283.tar.gz
Qt-9598483764d0c95751abcfb384422916b64fd283.tar.bz2
Use QImage::Format_ARGB32_Premultiplied for the surface
-rw-r--r--src/plugins/platforms/wayland/qwaylandintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandintegration.cpp b/src/plugins/platforms/wayland/qwaylandintegration.cpp
index 01affac..21e7be7 100644
--- a/src/plugins/platforms/wayland/qwaylandintegration.cpp
+++ b/src/plugins/platforms/wayland/qwaylandintegration.cpp
@@ -64,7 +64,7 @@ void QWaylandDisplay::outputHandleGeometry(void *data,
screen = new QWaylandScreen();
screen->mGeometry = QRect(0, 0, width, height);
screen->mDepth = 32;
- screen->mFormat = QImage::Format_ARGB32;
+ screen->mFormat = QImage::Format_ARGB32_Premultiplied;
screen->mOutput = output;
qwd->mScreens.append(screen);