summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
diff options
context:
space:
mode:
authorJohannes Zellner <johannes.zellner@nokia.com>2011-12-13 11:00:56 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-13 13:58:56 +0100
commit8757aaaf2f9cba58f23609693eef89c80816433d (patch)
tree4c158fc56a3b91e07086429dee422b097312810a /src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
parentd52fd497f60a3c4456994f4f10e9451d611c9ea4 (diff)
Fix debug output in eglfs with QEGL_EXTRA_DEBUG enabled
Change-Id: I615a953b52184d01c5b1b78d1cff283f94c458d9 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsbackingstore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
index 1d27be7fb3..bbe5864cc5 100644
--- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
@@ -79,18 +79,18 @@ QEglFSBackingStore::QEglFSBackingStore(QWindow *window)
: QPlatformBackingStore(window)
{
#ifdef QEGL_EXTRA_DEBUG
- qWarning("QEglBackingStore %p, %p", window, screen);
+ qWarning("QEglBackingStore %p, %p", window, window->screen());
#endif
m_paintDevice = new QEglFSPaintDevice(static_cast<QEglFSScreen *>(window->screen()->handle()));
}
-void QEglFSBackingStore::flush(QWindow *widget, const QRegion &region, const QPoint &offset)
+void QEglFSBackingStore::flush(QWindow *window, const QRegion &region, const QPoint &offset)
{
- Q_UNUSED(widget);
+ Q_UNUSED(window);
Q_UNUSED(region);
Q_UNUSED(offset);
#ifdef QEGL_EXTRA_DEBUG
- qWarning("QEglBackingStore::flush %p",widget);
+ qWarning("QEglBackingStore::flush %p", window);
#endif
static_cast<QEglFSPaintDevice *>(m_paintDevice)->context()->swapBuffers();
}