summarylogtreecommitdiffstats
path: root/qt5-disable-angle-opengl-testcode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qt5-disable-angle-opengl-testcode.patch')
-rw-r--r--qt5-disable-angle-opengl-testcode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt5-disable-angle-opengl-testcode.patch b/qt5-disable-angle-opengl-testcode.patch
new file mode 100644
index 000000000000..a2bb3f65f62f
--- /dev/null
+++ b/qt5-disable-angle-opengl-testcode.patch
@@ -0,0 +1,11 @@
+--- qtbase-opensource-src-5.5.0/src/plugins/platforms/windows/qwindowseglcontext.cpp.external_angle 2015-06-29 22:04:40.000000000 +0200
++++ qtbase-opensource-src-5.5.0/src/plugins/platforms/windows/qwindowseglcontext.cpp 2015-08-05 21:37:55.922142528 +0200
+@@ -366,7 +366,7 @@
+ EGLDisplay display = EGL_NO_DISPLAY;
+ EGLint major = 0;
+ EGLint minor = 0;
+-#ifdef EGL_ANGLE_platform_angle
++#if 0
+ if (libEGL.eglGetPlatformDisplayEXT
+ && (preferredType & QWindowsOpenGLTester::AngleBackendMask)) {
+ const EGLint anglePlatformAttributes[][5] = {