From 7a2376741d822836432a9215591e0cffe7f89dc7 Mon Sep 17 00:00:00 2001 From: superp00t Date: Fri, 6 Sep 2024 12:20:55 -0400 Subject: [PATCH] fix(console): use WHOA_BUILD_GLSDL macro to detect whether GLSDL device is supported in g_gxApiSupported --- src/console/Device.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/console/Device.cpp b/src/console/Device.cpp index 2761c66..5a1df3b 100644 --- a/src/console/Device.cpp +++ b/src/console/Device.cpp @@ -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 };