mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
Add HAVE_GLSL/HAVE_HLSL to config.features.h
This commit is contained in:
parent
aded842d4f
commit
3c498eb505
@ -146,6 +146,18 @@ static const bool _cg_supp = true;
|
||||
static const bool _cg_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GLSL
|
||||
static const bool _glsl_supp = true;
|
||||
#else
|
||||
static const bool _glsl_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_HLSL
|
||||
static const bool _hlsl_supp = true;
|
||||
#else
|
||||
static const bool _hlsl_supp = false;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBXML2
|
||||
static const bool _libxml2_supp = true;
|
||||
#else
|
||||
|
@ -522,7 +522,17 @@ static int deferred_push_system_information(void *data, void *userdata,
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"Cg library support: %s", _cg_supp ? "true" : "false");
|
||||
"Cg support: %s", _cg_supp ? "true" : "false");
|
||||
menu_list_push(list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"GLSL support: %s", _glsl_supp ? "true" : "false");
|
||||
menu_list_push(list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
snprintf(feat_str, sizeof(feat_str),
|
||||
"HLSL support: %s", _hlsl_supp ? "true" : "false");
|
||||
menu_list_push(list, feat_str, "",
|
||||
MENU_SETTINGS_CORE_INFO_NONE, 0);
|
||||
|
||||
|
@ -115,6 +115,8 @@ static void print_features(void)
|
||||
_PSUPP(al, "OpenAL", "audio driver");
|
||||
_PSUPP(dylib, "External", "External filter and plugin support");
|
||||
_PSUPP(cg, "Cg", "Cg pixel shaders");
|
||||
_PSUPP(glsl, "GLSL", "GLSL pixel shaders");
|
||||
_PSUPP(glsl, "HLSL", "HLSL pixel shaders");
|
||||
_PSUPP(libxml2, "libxml2", "libxml2 XML parsing");
|
||||
_PSUPP(sdl_image, "SDL_image", "SDL_image image loading");
|
||||
_PSUPP(fbo, "FBO", "OpenGL render-to-texture (multi-pass shaders)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user