summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmap_blitter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_blitter.cpp b/src/gui/image/qpixmap_blitter.cpp
index 660f4d2..d91a269 100644
--- a/src/gui/image/qpixmap_blitter.cpp
+++ b/src/gui/image/qpixmap_blitter.cpp
@@ -37,7 +37,11 @@ QBlittable *QBlittablePixmapData::blittable() const
{
if (!m_blittable) {
QBlittablePixmapData *that = const_cast<QBlittablePixmapData *>(this);
+#ifdef Q_WS_QPA //####jl: graphics system nor platformintegration should have createBlittable
+ that->m_blittable = QApplicationPrivate::platformIntegration()->createBlittable(QSize(w,h));
+#else
that->m_blittable = QApplicationPrivate::graphicsSystem()->createBlittable(QSize(w,h));
+#endif
}
return m_blittable;