From bea82a13436a42a339e26354c8106dc28dedc178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 21 Jan 2023 08:51:44 -0800 Subject: [PATCH] GLES3+: Fix headers. --- src/renderer_gl.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/renderer_gl.h b/src/renderer_gl.h index 24a963820..784d57899 100644 --- a/src/renderer_gl.h +++ b/src/renderer_gl.h @@ -140,8 +140,14 @@ typedef uint64_t GLuint64; # define GL_UNSIGNED_INT_24_8 GL_UNSIGNED_INT_24_8_OES # elif BGFX_CONFIG_RENDERER_OPENGLES >= 30 # include -# include -# include +# if BGFX_CONFIG_RENDERER_OPENGLES >= 32 +# include +# elif BGFX_CONFIG_RENDERER_OPENGLES >= 31 +# include +# else +# include +# endif // BGFX_CONFIG_RENDERER_OPENGLES +# include # endif // BGFX_CONFIG_RENDERER_ # if BGFX_USE_EGL