aboutsummaryrefslogtreecommitdiff
path: root/include/egl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-15 08:21:54 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-15 08:21:54 +0200
commit0b9d232ce8881ccf991817862e2e5b3a8bc0a73d (patch)
treee4828d0459ba4bc77d3ba44f03211411ef991858 /include/egl.h
parent8e3014aa97d30ba3b24d5409be00db6ecd76f4b3 (diff)
Fix crash, use opengl es instead of opengl desktop
Diffstat (limited to 'include/egl.h')
-rw-r--r--include/egl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/egl.h b/include/egl.h
index a2228f5..6a44d7e 100644
--- a/include/egl.h
+++ b/include/egl.h
@@ -42,7 +42,9 @@ typedef void(*__GLXextFuncPtr)(void);
#define EGL_BUFFER_SIZE 0x3020
#define EGL_RENDERABLE_TYPE 0x3040
#define EGL_OPENGL_API 0x30A2
+#define EGL_OPENGL_ES_API 0x30A0
#define EGL_OPENGL_BIT 0x0008
+#define EGL_OPENGL_ES_BIT 0x0001
#define EGL_NONE 0x3038
#define EGL_CONTEXT_CLIENT_VERSION 0x3098
#define EGL_BACK_BUFFER 0x3084