mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52: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[] = {
|
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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user