summaryrefslogtreecommitdiff
path: root/external/epoxy/epoxy.noegl.by.default.patch
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-13 16:08:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-13 16:09:12 +0000
commit54491dce60ddce0cca509d030b0c38093a8be535 (patch)
tree6342b491e8ccf753fb25d4ef004f9d276e4b1cfe /external/epoxy/epoxy.noegl.by.default.patch
parent1141f178382be0add06ba182cc02c2adb7e96324 (diff)
turn off epoxy egl support by default and enable only when gtk3 is enabled
to build on the festering baseline on which gtk3 is disabled Change-Id: I6c074382590fc60ae8572fbde225679e4309494e
Diffstat (limited to 'external/epoxy/epoxy.noegl.by.default.patch')
-rw-r--r--external/epoxy/epoxy.noegl.by.default.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/epoxy/epoxy.noegl.by.default.patch b/external/epoxy/epoxy.noegl.by.default.patch
new file mode 100644
index 000000000000..d80a3b99f15c
--- /dev/null
+++ b/external/epoxy/epoxy.noegl.by.default.patch
@@ -0,0 +1,11 @@
+--- src/dispatch_common.h
++++ src/dispatch_common.h
+@@ -39,7 +39,7 @@
+ #define PLATFORM_HAS_WGL 0
+ #define EPOXY_IMPORTEXPORT
+ #else
+-#define PLATFORM_HAS_EGL 1
++
+ #define PLATFORM_HAS_GLX 1
+ #define PLATFORM_HAS_WGL 0
+ #define EPOXY_IMPORTEXPORT