diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsintegration.cpp')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsintegration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsintegration.cpp b/src/plugins/platforms/eglfs/qeglfsintegration.cpp index 8b2346b5fd..3d3e05d351 100644 --- a/src/plugins/platforms/eglfs/qeglfsintegration.cpp +++ b/src/plugins/platforms/eglfs/qeglfsintegration.cpp @@ -49,7 +49,7 @@ #include <QtGui/QPlatformWindow> #include <QtGui/QSurfaceFormat> -#include <QtGui/QGuiGLContext> +#include <QtGui/QOpenGLContext> #include <QtGui/QScreen> #include <EGL/egl.h> @@ -93,7 +93,7 @@ QPlatformBackingStore *QEglFSIntegration::createPlatformBackingStore(QWindow *wi return new QEglFSBackingStore(window); } -QPlatformGLContext *QEglFSIntegration::createPlatformGLContext(QGuiGLContext *context) const +QPlatformOpenGLContext *QEglFSIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const { return static_cast<QEglFSScreen *>(context->screen()->handle())->platformContext(); } |