diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-04-20 10:46:53 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-04-20 15:55:14 (GMT) |
commit | 01a671ff0bd380e5cff311cc233352c867a041a0 (patch) | |
tree | de600ef6e156f66c7d10be519061f0b37030472e /src/plugins | |
parent | 2964be69e1db017082236ad8756b725fb4f7d4ea (diff) | |
download | Qt-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.cpp | 2 |
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(); |