diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-04 15:35:05 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-04 15:35:05 +0200 |
commit | 03ff9fedb60e6ee13b1340b127e624e2d9b875cc (patch) | |
tree | 7a1b68fbcd681c500c27beed17df20f2acc8a328 /platform/linuxbsd/platform_gl.h | |
parent | bb30c8377c3a49edeb025ec797bd2e2fecdc179d (diff) | |
parent | af00c4a54a34158a6db1da1738d96f389ff4697f (diff) | |
download | redot-engine-03ff9fedb60e6ee13b1340b127e624e2d9b875cc.tar.gz |
Merge pull request #82101 from bruvzg/x11_gles
[X11] Add support for using EGL/GLES instead of GLX.
Diffstat (limited to 'platform/linuxbsd/platform_gl.h')
-rw-r--r-- | platform/linuxbsd/platform_gl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/platform_gl.h b/platform/linuxbsd/platform_gl.h index 1c19c4518a..5d4c2d8978 100644 --- a/platform/linuxbsd/platform_gl.h +++ b/platform/linuxbsd/platform_gl.h @@ -35,6 +35,10 @@ #define GL_API_ENABLED // Allow using desktop GL. #endif +#ifndef GLES_API_ENABLED +#define GLES_API_ENABLED // Allow using GLES. +#endif + #include "thirdparty/glad/glad/egl.h" #include "thirdparty/glad/glad/gl.h" |