fix(gx): simplified gx device creation according to api enum

This commit is contained in:
phaneron 2024-07-22 01:21:08 -04:00
parent 45f23fb3ba
commit 1b4f1dba86
3 changed files with 34 additions and 31 deletions

View file

@ -5,6 +5,7 @@
#include "util/SFile.hpp"
#include <algorithm>
#include <cstring>
#include <cstdio>
#include <limits>
#include <new>
#include <storm/Error.hpp>
@ -14,7 +15,7 @@
#include "gx/d3d/CGxDeviceD3d.hpp"
#endif
#if defined(WHOA_SYSTEM_LINUX) || defined(WHOA_SYSTEM_WIN)
#if defined(WHOA_BUILD_GLSDL)
#include "gx/glsdl/CGxDeviceGLSDL.hpp"
#endif