diff options
Diffstat (limited to 'src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp')
-rw-r--r-- | src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp b/src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp index e46c0fbfa1..758e0c4398 100644 --- a/src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp +++ b/src/plugins/platforms/openwfd/qopenwfdnativeinterface.cpp @@ -68,7 +68,7 @@ public: Q_GLOBAL_STATIC(QOpenWFDResourceMap, qOpenWFDResourceMap) -void *QOpenWFDNativeInterface::nativeResourceForContext(const QByteArray &resourceString, QGuiGLContext *context) +void *QOpenWFDNativeInterface::nativeResourceForContext(const QByteArray &resourceString, QOpenGLContext *context) { QByteArray lowerCaseResource = resourceString.toLower(); ResourceType resource = qOpenWFDResourceMap()->value(lowerCaseResource); @@ -134,7 +134,7 @@ void *QOpenWFDNativeInterface::eglDisplayForWindow(QWindow *window) return openWFDwindow->port()->device()->eglDisplay(); } -void * QOpenWFDNativeInterface::eglContextForContext(QGuiGLContext *context) +void * QOpenWFDNativeInterface::eglContextForContext(QOpenGLContext *context) { QOpenWFDGLContext *openWFDContext = static_cast<QOpenWFDGLContext *>(context->handle()); return openWFDContext->eglContext(); |