summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_vulkan.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-29 14:10:55 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-29 14:10:55 +1000
commit824579234685171f0ca78674c7c18dfe6b43fe6e (patch)
treeaf7d9de2d81fb0b16db26ee09ea9456aae248ec9 /src/renderer/backends/backend_vulkan.c
parent8d116bd23d9441e33cb3377e90c08169109b438a (diff)
start adding opengl backend
Diffstat (limited to 'src/renderer/backends/backend_vulkan.c')
-rw-r--r--src/renderer/backends/backend_vulkan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/renderer/backends/backend_vulkan.c b/src/renderer/backends/backend_vulkan.c
index 2f8fdf7..10358f1 100644
--- a/src/renderer/backends/backend_vulkan.c
+++ b/src/renderer/backends/backend_vulkan.c
@@ -1,3 +1,5 @@
+#if defined (CEL_REND_BACKEND_VULKAN)
+
#include <assert.h>
#include <glfw3.h>
#include <stddef.h>
@@ -1708,3 +1710,5 @@ void backend_pools_init(arena* a, gpu_backend_pools* backend_pools) {
context.gpu_pools;
}
+
+#endif \ No newline at end of file