summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/openwfd/qopenwfdintegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/openwfd/qopenwfdintegration.cpp')
-rw-r--r--src/plugins/platforms/openwfd/qopenwfdintegration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/openwfd/qopenwfdintegration.cpp b/src/plugins/platforms/openwfd/qopenwfdintegration.cpp
index 63d7b6a31f..3d57759183 100644
--- a/src/plugins/platforms/openwfd/qopenwfdintegration.cpp
+++ b/src/plugins/platforms/openwfd/qopenwfdintegration.cpp
@@ -50,7 +50,7 @@
#include <QtPlatformSupport/private/qgenericunixprintersupport_p.h>
#include <QtGui/private/qguiapplication_p.h>
-#include <QtGui/QGuiGLContext>
+#include <QtGui/QOpenGLContext>
#include <QtGui/QScreen>
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
@@ -107,7 +107,7 @@ QPlatformWindow *QOpenWFDIntegration::createPlatformWindow(QWindow *window) cons
return new QOpenWFDWindow(window);
}
-QPlatformGLContext *QOpenWFDIntegration::createPlatformGLContext(QGuiGLContext *context) const
+QPlatformOpenGLContext *QOpenWFDIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const
{
QOpenWFDScreen *screen = static_cast<QOpenWFDScreen *>(context->screen()->handle());