mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Change GL_CAPS_FBO
This commit is contained in:
parent
083bc4eed3
commit
ef74742078
@ -372,12 +372,9 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
|
||||
#endif
|
||||
break;
|
||||
case GL_CAPS_FBO:
|
||||
#ifndef HAVE_FBO
|
||||
break;
|
||||
#else
|
||||
#if defined(HAVE_PSGL) || defined(HAVE_OPENGLES2) || defined(HAVE_OPENGLES3) || defined(HAVE_OPENGLES_3_1) || defined(HAVE_OPENGLES_3_2)
|
||||
return true;
|
||||
#else
|
||||
#elif defined(HAVE_FBO)
|
||||
if (!gl_query_core_context_in_use() && !gl_query_extension("ARB_framebuffer_object")
|
||||
&& !gl_query_extension("EXT_framebuffer_object"))
|
||||
return false;
|
||||
@ -394,7 +391,8 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
|
||||
&& glDeleteRenderbuffers)
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case GL_CAPS_ARGB8:
|
||||
#ifdef HAVE_OPENGLES
|
||||
|
Loading…
x
Reference in New Issue
Block a user