mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00: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
1 changed files with 3 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue