summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/common')
-rw-r--r--src/plugins/qnx/common/windowgrabber.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qnx/common/windowgrabber.cpp b/src/plugins/qnx/common/windowgrabber.cpp
index c16e38206..39d87c781 100644
--- a/src/plugins/qnx/common/windowgrabber.cpp
+++ b/src/plugins/qnx/common/windowgrabber.cpp
@@ -40,6 +40,7 @@
#include <qpa/qplatformnativeinterface.h>
#include <QOpenGLContext>
+#include <QOpenGLFunctions>
#ifdef Q_OS_BLACKBERRY
#include <bps/event.h>
@@ -343,6 +344,9 @@ void WindowGrabber::checkForEglImageExtension()
m_eglImageSupported = m_context->hasExtension(QByteArrayLiteral("GL_OES_EGL_image"))
&& eglExtensions.contains(QByteArrayLiteral("EGL_KHR_image"));
+ if (strstr(reinterpret_cast<const char*>(glGetString(GL_VENDOR)), "VMware"))
+ m_eglImageSupported = false;
+
m_eglImageCheck = true;
}