summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-04-27 15:37:52 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-04-27 15:37:52 +1000
commit4e6897aa8c8769a556ad58081eba5a90226e551d (patch)
tree8b87c4e75d07248360636ab6df3562f8871fb569 /src/defines.h
parentf5c7f55fcfb4df4b9aa67b11a847340f0d8c95c4 (diff)
wip
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/defines.h b/src/defines.h
index 8cd4f98..54f2dd5 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -65,11 +65,15 @@ Renderer backend defines:
*/
// Platform will inform renderer backend (unless user overrides)
-#if defined(CEL_PLATFORM_LINUX) || defined(CEL_PLATFORM_WINDOWS)
+#if defined(CEL_PLATFORM_LINUX)
#define CEL_REND_BACKEND_OPENGL 1
// #define CEL_REND_BACKEND_VULKAN 1
#endif
+#if defined(CEL_PLATFORM_WINDOWS)
+#define CEL_REND_BACKEND_DX11 1
+#endif
+
#if defined(CEL_PLATFORM_MAC)
// #define CEL_REND_BACKEND_METAL 1
#define CEL_REND_BACKEND_OPENGL 1