From 9598483764d0c95751abcfb384422916b64fd283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 7 Oct 2010 17:07:59 -0400 Subject: Use QImage::Format_ARGB32_Premultiplied for the surface --- src/plugins/platforms/wayland/qwaylandintegration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12