From 06eca5d5308bdf7fff46c31fb7aa2271ecd5ccb1 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Tue, 1 Nov 2016 07:09:58 -0600 Subject: [PATCH] Define some EGL constants Missing from the Android headers --- gfx/common/egl_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gfx/common/egl_common.h b/gfx/common/egl_common.h index e5658154d3..060d9a26bb 100644 --- a/gfx/common/egl_common.h +++ b/gfx/common/egl_common.h @@ -28,6 +28,14 @@ #include "../video_context_driver.h" +#ifndef EGL_CONTEXT_FLAGS_KHR +#define EGL_CONTEXT_FLAGS_KHR 0x30FC +#endif + +#ifndef EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR +#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 +#endif + RETRO_BEGIN_DECLS /* Put this structure as the first member of egl-based contexts