Check for GL_EXT_framebuffer_object too

This commit is contained in:
twinaphex 2016-05-11 22:49:41 +02:00
parent 670b564f13
commit c9d3936ee5

View File

@ -190,7 +190,8 @@ static bool gl_check_mipmap(void)
if (!extension_queried)
{
gl_t *gl = (gl_t*)video_driver_get_ptr(false);
extension = gl_query_extension(gl, "ARB_framebuffer_object");
extension = gl_query_extension(gl, "ARB_framebuffer_object") ||
gl_query_extension(gl, "EXT_framebuffer_object");
extension_queried = true;
}
@ -230,7 +231,8 @@ static bool gl_init_vao(gl_t *gl)
#elif !defined(HAVE_OPENGLES2)
static bool gl_check_fbo_proc(gl_t *gl)
{
if (!gl->core_context && !gl_query_extension(gl, "ARB_framebuffer_object"))
if (!gl->core_context && !gl_query_extension(gl, "ARB_framebuffer_object")
&& !gl_query_extension(gl, "EXT_framebuffer_object"))
return false;
return glGenFramebuffers