summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/qwinrtbackingstore.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-08-07 12:19:32 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-08-11 13:19:53 +0200
commit00f3f5c0a65e053c4075b92487fc77cfc33f2d5d (patch)
treeae68d9623cafda6d764ba32913518187cbb5deb6 /src/plugins/platforms/winrt/qwinrtbackingstore.cpp
parent9ba3145f797f09e69a07fb265cda257c56cf72ba (diff)
Fix msaa in QOpenGLWidget
Take the correct number of samples from the widget's context, not the tlw's context. The original implementation did the blit only after paintGL(). This is not sufficient for applications that override paintEvent() and do QPainter calls in there (e.g. the 2dpainting example). Therefore the approach is changed to perform the resolving of the samples in a function that is invoked by QWidgetPrivate every time a paint event is sent. Change-Id: Iae0b2c30f6070ec75201339a848854e4582a9c0c Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions