(GL capabilities) Packed depth stencil - if GLES is 3 or higher,

assume yes, also query EXT_packed_depth_stencil
This commit is contained in:
twinaphex 2016-08-03 00:15:47 +02:00
parent 23f4e8bdfa
commit 36963b91c7

View File

@ -418,8 +418,11 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
#ifdef HAVE_OPENGLES
struct retro_hw_render_callback *hwr =
video_driver_get_hw_context();
if (gles3)
return true;
if (hwr->stencil
&& !gl_query_extension("OES_packed_depth_stencil"))
&& !gl_query_extension("OES_packed_depth_stencil")
&& !gl_query_extension("EXT_packed_depth_stencil"))
return false;
return true;
#else