fix(console): use WHOA_BUILD_GLSDL macro to detect whether GLSDL device is supported in g_gxApiSupported

This commit is contained in:
superp00t 2024-09-06 12:20:55 -04:00
parent 1931efdfb5
commit 7a2376741d

View File

@ -31,15 +31,14 @@ const char* g_gxApiNames[GxApis_Last] = {
EGxApi g_gxApiSupported[] = { EGxApi g_gxApiSupported[] = {
#if defined(WHOA_SYSTEM_WIN) #if defined(WHOA_SYSTEM_WIN)
GxApi_D3d9, GxApi_D3d9,
GxApi_GLSDL
#endif #endif
#if defined(WHOA_SYSTEM_MAC) #if defined(WHOA_SYSTEM_MAC)
GxApi_GLL GxApi_GLL,
#endif #endif
#if defined(WHOA_SYSTEM_LINUX) #if defined(WHOA_BUILD_GLSDL)
GxApi_GLSDL GxApi_GLSDL,
#endif #endif
}; };