os gfx stub backend

This commit is contained in:
Ryan Fleury
2024-01-12 20:30:38 -08:00
parent b9a7b64280
commit b932e6236a
6 changed files with 245 additions and 4 deletions
+9 -1
View File
@@ -12,6 +12,10 @@
# define OS_FEATURE_GRAPHICAL 0
#endif
#if !defined(OS_GFX_STUB)
# define OS_GFX_STUB 0
#endif
#include "core/os_core.h"
#if OS_FEATURE_SOCKET
@@ -27,7 +31,7 @@
# if OS_FEATURE_SOCKET
# include "socket/win32/os_socket_win32.h"
# endif
# if OS_FEATURE_GRAPHICAL
# if OS_FEATURE_GRAPHICAL && !OS_GFX_STUB
# include "gfx/win32/os_gfx_win32.h"
# endif
#elif OS_LINUX
@@ -36,4 +40,8 @@
# error no OS layer setup
#endif
#if OS_GFX_STUB
#include "gfx/stub/os_gfx_stub.h"
#endif
#endif //OS_SWITCH_H