mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Check for GL_EXT_framebuffer_object too
This commit is contained in:
parent
670b564f13
commit
c9d3936ee5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user