diff options
Diffstat (limited to 'src/gui/painting/qrhibackingstore.cpp')
-rw-r--r-- | src/gui/painting/qrhibackingstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrhibackingstore.cpp b/src/gui/painting/qrhibackingstore.cpp index 71b5ccf6cf..fd7045e3f6 100644 --- a/src/gui/painting/qrhibackingstore.cpp +++ b/src/gui/painting/qrhibackingstore.cpp @@ -40,7 +40,7 @@ void QRhiBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoin static QPlatformTextureList emptyTextureList; bool translucentBackground = m_image.hasAlphaChannel(); - rhiFlush(window, region, offset, &emptyTextureList, translucentBackground); + rhiFlush(window, window->devicePixelRatio(), region, offset, &emptyTextureList, translucentBackground); } QT_END_NAMESPACE |