Use Raster pixmaps for the EglFS plugin
authorGunnar Sletta <gunnar.sletta@nokia.com>
Mon, 6 Jun 2011 12:17:14 +0000 (14:17 +0200)
committerQt Continuous Integration System <qt-info@nokia.com>
Mon, 6 Jun 2011 13:33:16 +0000 (15:33 +0200)
Change-Id: Id94df7b5ebe298104d05bee3ae58e06201c596f7
Reviewed-on: http://codereview.qt.nokia.com/334
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/eglfs/qeglfsintegration.cpp

index 287ffce..9e8596f 100644 (file)
@@ -48,7 +48,7 @@
 
 #include <QtGui/QPlatformWindow>
 #include <QtGui/QPlatformWindowFormat>
-#include <QtOpenGL/private/qpixmapdata_gl_p.h>
+#include <QtGui/private/qpixmap_raster_p.h>
 
 #include <EGL/egl.h>
 
@@ -78,7 +78,7 @@ QPixmapData *QEglFSIntegration::createPixmapData(QPixmapData::PixelType type) co
 #ifdef QEGL_EXTRA_DEBUG
     qWarning("QEglIntegration::createPixmapData %d\n", type);
 #endif
-    return new QGLPixmapData(type);
+    return new QRasterPixmapData(type);
 }
 
 QPlatformWindow *QEglFSIntegration::createPlatformWindow(QWidget *widget, WId winId) const