mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-09 23:06:47 +03:00
fix(console): use WHOA_BUILD_GLSDL macro to detect whether GLSDL device is supported in g_gxApiSupported
This commit is contained in:
parent
1931efdfb5
commit
7a2376741d
@ -31,15 +31,14 @@ const char* g_gxApiNames[GxApis_Last] = {
|
||||
EGxApi g_gxApiSupported[] = {
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
GxApi_D3d9,
|
||||
GxApi_GLSDL
|
||||
#endif
|
||||
|
||||
#if defined(WHOA_SYSTEM_MAC)
|
||||
GxApi_GLL
|
||||
GxApi_GLL,
|
||||
#endif
|
||||
|
||||
#if defined(WHOA_SYSTEM_LINUX)
|
||||
GxApi_GLSDL
|
||||
#if defined(WHOA_BUILD_GLSDL)
|
||||
GxApi_GLSDL,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user