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