diff options
author | Adam Treat <adam.treat@qt.io> | 2017-12-02 10:36:12 -0500 |
---|---|---|
committer | Adam Treat <adam.treat@qt.io> | 2018-02-08 01:28:41 +0000 |
commit | 36171af399e24095a0836e05a519a19e161a278e (patch) | |
tree | f44d3d4e981267a3d24a9238f197481f3f079dcb /src/plugins/platforms/qnx/qqnxnativeinterface.cpp | |
parent | ce8e72d04012620d8243bfa38db087b5194b68c4 (diff) |
Make use of our egl convenience code for QNX QPA
This fixes various problems that occur because the current egl context
assumes OpenGL ES 2.0 and does not support newer versions of ES.
Task-number: QTBUG-64306
Change-Id: I81466ba5cf028b47ca5a2ebcdc702167aff655a2
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxnativeinterface.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxnativeinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp index 468fe9cd91..3eebb9c742 100644 --- a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp +++ b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp @@ -98,7 +98,7 @@ void *QQnxNativeInterface::nativeResourceForIntegration(const QByteArray &resour void *QQnxNativeInterface::nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context) { if (resource == "eglcontext" && context) - return static_cast<QQnxGLContext*>(context->handle())->getEglContext(); + return static_cast<QQnxGLContext*>(context->handle())->eglContext(); return 0; } |