mirror of
https://github.com/libretro/RetroArch
synced 2024-12-25 18:25:21 +00:00
Add GDI system feature
This commit is contained in:
parent
5c31d38137
commit
6c914bed06
@ -104,6 +104,12 @@
|
||||
#define SUPPORTS_D3D12 false
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GDI
|
||||
#define SUPPORTS_GDI true
|
||||
#else
|
||||
#define SUPPORTS_GDI false
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_VULKAN
|
||||
#define SUPPORTS_VULKAN true
|
||||
#else
|
||||
|
@ -750,6 +750,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_D3D12_SUPPORT,
|
||||
"Direct3D 12 Support"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GDI_SUPPORT,
|
||||
"GDI Support"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_VULKAN_SUPPORT,
|
||||
"Vulkan Support"
|
||||
|
@ -2288,6 +2288,9 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
|
||||
#ifdef HAVE_SDL2
|
||||
{SUPPORTS_SDL2 , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT},
|
||||
#endif
|
||||
#ifdef HAVE_GDI
|
||||
{SUPPORTS_GDI , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GDI_SUPPORT},
|
||||
#endif
|
||||
#ifdef HAVE_D3D8
|
||||
{SUPPORTS_D3D8 , MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_D3D8_SUPPORT},
|
||||
#endif
|
||||
|
@ -3508,6 +3508,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RPNG_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GDI_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_D3D8_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_D3D9_SUPPORT,
|
||||
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_D3D10_SUPPORT,
|
||||
|
@ -6132,6 +6132,9 @@ static void retroarch_print_features(void)
|
||||
#ifdef HAVE_THREADS
|
||||
_len += _PSUPP_BUF(buf, _len, SUPPORTS_THREAD, "Threads", "Threading support");
|
||||
#endif
|
||||
#ifdef HAVE_GDI
|
||||
_len += _PSUPP_BUF(buf, _len, SUPPORTS_GDI, "GDI", "Video driver");
|
||||
#endif
|
||||
#ifdef HAVE_D3D8
|
||||
_len += _PSUPP_BUF(buf, _len, SUPPORTS_D3D8, "Direct3D 8", "Video driver");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user