summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/platformsupport/eglconvenience/qeglplatformintegration.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
index 1b63d16195..67064f63b5 100644
--- a/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
+++ b/src/platformsupport/eglconvenience/qeglplatformintegration.cpp
@@ -291,6 +291,10 @@ void *QEGLPlatformIntegration::nativeResourceForContext(const QByteArray &resour
if (context->handle())
result = static_cast<QEGLPlatformContext *>(context->handle())->eglConfig();
break;
+ case EglDisplay:
+ if (context->handle())
+ result = static_cast<QEGLPlatformContext *>(context->handle())->eglDisplay();
+ break;
default:
break;
}