winrt: Switch default screen image format

No need to specify a format with alpha for the screen. Comparing to
Windows, Format_ARGB32_Premultiplied was only set in the constructor,
but never actually during runtime as detection enforces eith RGB32 or
RGB16.

Change-Id: I4c2fabbab0d14ee296f9b7e43b02de8a9836d5bb
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Maurice Kalinowski 2016-11-09 10:45:12 +01:00
parent ef744f2163
commit 7d3b291c22

View File

@ -625,7 +625,7 @@ int QWinRTScreen::depth() const
QImage::Format QWinRTScreen::format() const
{
return QImage::Format_ARGB32_Premultiplied;
return QImage::Format_RGB32;
}
QSizeF QWinRTScreen::physicalSize() const