diff --git a/src/glimports.h b/src/glimports.h index a1efd0dd..eea67ff6 100644 --- a/src/glimports.h +++ b/src/glimports.h @@ -320,7 +320,7 @@ GL_IMPORT______(false, PFNGLGETSHADERIVPROC, glGetShaderiv GL_IMPORT______(false, PFNGLGETSHADERINFOLOGPROC, glGetShaderInfoLog); GL_IMPORT______(false, PFNGLGETSTRINGPROC, glGetString); GL_IMPORT______(false, PFNGLGETUNIFORMLOCATIONPROC, glGetUniformLocation); -#if !(BGFX_CONFIG_RENDERER_OPENGLES < 30) +#if BGFX_CONFIG_RENDERER_OPENGL || !(BGFX_CONFIG_RENDERER_OPENGLES < 30) GL_IMPORT______(true, PFNGLINVALIDATEFRAMEBUFFERPROC, glInvalidateFramebuffer); #endif // !(BGFX_CONFIG_RENDERER_OPENGLES < 30) GL_IMPORT______(false, PFNGLLINKPROGRAMPROC, glLinkProgram);