summaryrefslogtreecommitdiff
path: root/src/renderer/ral.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/ral.c')
-rw-r--r--src/renderer/ral.c6
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) {