fix(gx): only use GLSDL if compiled with CMake variable WHOA_BUILD_GLSDL

This commit is contained in:
phaneron 2024-07-22 00:43:39 -04:00
parent 35cc734cdc
commit 5229b9b972
3 changed files with 5 additions and 2 deletions

View file

@ -57,7 +57,7 @@ class CGxDevice {
#if defined(WHOA_SYSTEM_MAC)
static CGxDevice* NewGLL();
#endif
#if defined(WHOA_SYSTEM_LINUX) || defined(WHOA_SYSTEM_WIN)
#if defined(WHOA_BUILD_GLSDL)
static CGxDevice* NewGLSDL();
#endif
static CGxDevice* NewOpenGl();