mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Add _opengles_supp to config.features.h
This commit is contained in:
parent
d9f5f7c457
commit
182c4e5e37
@ -62,6 +62,12 @@ static const bool _opengl_supp = true;
|
||||
static const bool _opengl_supp = false;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES2) || defined(HAVE_OPENGLES3)
|
||||
static const bool _opengles_supp = true;
|
||||
#else
|
||||
static const bool _opengles_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_KMS
|
||||
static const bool _kms_supp = true;
|
||||
#else
|
||||
|
@ -446,6 +446,11 @@ static int deferred_push_system_information(void *data, void *userdata,
|
||||
menu_list_push(list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"OpenGL ES support: %s", _opengles_supp ? "true" : "false");
|
||||
menu_list_push(list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"Threading support: %s", _thread_supp ? "true" : "false");
|
||||
menu_list_push(list, feat_str, "",
|
||||
|
@ -101,6 +101,7 @@ static void print_features(void)
|
||||
_PSUPP(wayland, "wayland", "Wayland drivers");
|
||||
_PSUPP(thread, "Threads", "Threading support");
|
||||
_PSUPP(opengl, "OpenGL", "OpenGL driver");
|
||||
_PSUPP(opengles, "OpenGL ES", "OpenGL ES driver");
|
||||
_PSUPP(kms, "KMS", "KMS/EGL context support");
|
||||
_PSUPP(udev, "UDEV", "UDEV/EVDEV input driver support");
|
||||
_PSUPP(egl, "EGL", "EGL context support");
|
||||
|
Loading…
x
Reference in New Issue
Block a user