mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(GL capabilities) Packed depth stencil - if GLES is 3 or higher,
assume yes, also query EXT_packed_depth_stencil
This commit is contained in:
parent
23f4e8bdfa
commit
36963b91c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user