summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-04-20 10:46:53 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-04-20 15:55:14 (GMT)
commit01a671ff0bd380e5cff311cc233352c867a041a0 (patch)
treede600ef6e156f66c7d10be519061f0b37030472e /src/plugins
parent2964be69e1db017082236ad8756b725fb4f7d4ea (diff)
downloadQt-01a671ff0bd380e5cff311cc233352c867a041a0.zip
Qt-01a671ff0bd380e5cff311cc233352c867a041a0.tar.gz
Qt-01a671ff0bd380e5cff311cc233352c867a041a0.tar.bz2
Make sure we use a premultiplied alpha format for 32 bit EGL screens.
Reviewed-by: Gunnar
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
index b0ffbf1..65efdbc 100644
--- a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
+++ b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
@@ -104,7 +104,7 @@ bool PvrEglScreen::connect(const QString &displaySpec)
break;
case PVR2D_ARGB8888:
d = 32;
- setPixelFormat(QImage::Format_ARGB32);
+ setPixelFormat(QImage::Format_ARGB32_Premultiplied);
break;
default:
pvrQwsDisplayClose();