iOS: Don't resize backing store twice in beginPaint()
The first call to resize() was a left-over from before we had retina-support. Change-Id: I637e8d40f443f81fe7cfc367650bb28b917da2bc Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>bb10
parent
699e44ac03
commit
62eb4d7f3d
|
|
@ -74,7 +74,6 @@ void QIOSBackingStore::beginPaint(const QRegion &)
|
|||
|
||||
m_context->makeCurrent(window());
|
||||
|
||||
static_cast<QOpenGLPaintDevice *>(paintDevice())->setSize(window()->size());
|
||||
QIOSWindow *iosWindow = static_cast<QIOSWindow *>(window()->handle());
|
||||
static_cast<QOpenGLPaintDevice *>(paintDevice())->setSize(window()->size() * iosWindow->devicePixelRatio());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue