summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-x11-free-gles/sgx-hack.patch
blob: 77f0e2a2fdaa506d0e4a00cf78f0377934430364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- /tmp/qegl_p.h	2009-07-09 08:42:12.000000000 +0200
+++ qt-x11-opensource-src-4.5.2/src/opengl/qegl_p.h	2009-07-09 08:42:30.000000000 +0200
@@ -65,7 +65,7 @@
 #else
 #include <GLES/egl.h>
 #endif
-#if !defined(EGL_VERSION_1_3) && !defined(QEGL_NATIVE_TYPES_DEFINED)
+//#if !defined(EGL_VERSION_1_3) && !defined(QEGL_NATIVE_TYPES_DEFINED)
 #undef EGLNativeWindowType
 #undef EGLNativePixmapType
 #undef EGLNativeDisplayType
@@ -73,7 +73,7 @@
 typedef NativePixmapType EGLNativePixmapType;
 typedef NativeDisplayType EGLNativeDisplayType;
 #define QEGL_NATIVE_TYPES_DEFINED 1
-#endif
+//#endif
 QT_END_INCLUDE_NAMESPACE
 
 class QX11Info;