: 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 ®ion, const QPoint &offset)
+void QEglFSBackingStore::flush(QWindow *window, const QRegion ®ion, 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();
}
QPlatformBackingStore *QEglFSIntegration::createPlatformBackingStore(QWindow *window) const
{
#ifdef QEGL_EXTRA_DEBUG
- qWarning("QEglIntegration::createWindowSurface %p\n",widget);
+ qWarning("QEglIntegration::createWindowSurface %p\n", window);
#endif
return new QEglFSBackingStore(window);
}