diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-09 01:43:02 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-09 01:43:02 +1000 |
commit | 859ea7e23d2bbbc4b32b43727ae50aebe399e720 (patch) | |
tree | 868b5d938cec7846637cf403cde3723829822305 /src/renderer/ral.c | |
parent | 19a5fae08d7f1f85cb5448a5f2b19f0f9d342a0e (diff) |
metal is back, baby
Diffstat (limited to 'src/renderer/ral.c')
-rw-r--r-- | src/renderer/ral.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/renderer/ral.c b/src/renderer/ral.c index 4f2a999..fe12b4f 100644 --- a/src/renderer/ral.c +++ b/src/renderer/ral.c @@ -1,6 +1,12 @@ #include "ral.h" +#if defined(CEL_REND_BACKEND_VULKAN) +#include "backend_vulkan.h" +#elif defined(CEL_REND_BACKEND_METAL) +#include "backend_metal.h" +#elif defined(CEL_REND_BACKEND_OPENGL) #include "backend_opengl.h" +#endif size_t vertex_attrib_size(vertex_attrib_type attr) { switch (attr) { |