From: Emil Velikov <[email protected]>

Namely add the EGL_CONTEXT_OPENGL_ROBUST_ACCESS define, if missing.

Signed-off-by: Emil Velikov <[email protected]>
---
 src/waffle/egl/wegl_context.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/waffle/egl/wegl_context.c b/src/waffle/egl/wegl_context.c
index 0e59231..083200e 100644
--- a/src/waffle/egl/wegl_context.c
+++ b/src/waffle/egl/wegl_context.c
@@ -34,6 +34,10 @@
 #include "wegl_platform.h"
 #include "wegl_util.h"
 
+#ifndef EGL_CONTEXT_OPENGL_ROBUST_ACCESS
+#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS  0x31B2
+#endif
+
 static bool
 bind_api(struct wegl_platform *plat, int32_t waffle_context_api)
 {
-- 
2.6.2

_______________________________________________
waffle mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to