summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/platform_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/platform_gl.h')
-rw-r--r--platform/linuxbsd/platform_gl.h4
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"