diff options
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbnativeinterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.h b/src/plugins/platforms/xcb/qxcbnativeinterface.h index 10e3f6350c..e9b1df4511 100644 --- a/src/plugins/platforms/xcb/qxcbnativeinterface.h +++ b/src/plugins/platforms/xcb/qxcbnativeinterface.h @@ -59,6 +59,7 @@ public: EglContext }; + void *nativeResourceForContext(const QByteArray &resourceString, QGuiGLContext *context); void *nativeResourceForWindow(const QByteArray &resourceString, QWindow *window); void *displayForWindow(QWindow *window); @@ -66,7 +67,8 @@ public: void *connectionForWindow(QWindow *window); void *screenForWindow(QWindow *window); void *graphicsDeviceForWindow(QWindow *window); - void *eglContextForWindow(QWindow *window); + + void *eglContextForContext(QGuiGLContext *context); private: static QXcbScreen *qPlatformScreenForWindow(QWindow *window); |