summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libepoxy/files/0001-dispatch_common.h-define-also-EGL_NO_X11.patch
blob: 726294518106810448cf9ae1859f8f368e1244e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 6f15cc28d17cfdd86f5974f06ad97b8afedd5627 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Fri, 25 Oct 2019 11:09:34 +0000
Subject: [PATCH] dispatch_common.h: define also EGL_NO_X11

MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in:
https://github.com/mesa3d/mesa/commit/6202a13b71e18dc31ba7e2f4ea915b67eacc1ddb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upstream-Status: Pending
---
 src/dispatch_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index dcb3a35..c206253 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -52,6 +52,7 @@
  * should do the same
  */
 #  define MESA_EGL_NO_X11_HEADERS 1
+#  define EGL_NO_X11 1
 # endif
 #include "epoxy/egl.h"
 #endif