diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index a11e08b20..f4a1783fe 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -1917,7 +1917,8 @@ namespace bgfx { namespace gl } } - if (!s_extension[Extension::ARB_framebuffer_object].m_supported) + if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL) + && !s_extension[Extension::ARB_framebuffer_object].m_supported) { BX_TRACE("Init error: ARB_framebuffer_object not supported."); goto error;