summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/renderer/backends/backend_vulkan.c23
-rw-r--r--src/renderer/render.h1
2 files changed, 23 insertions, 1 deletions
diff --git a/src/renderer/backends/backend_vulkan.c b/src/renderer/backends/backend_vulkan.c
index 6347e27..bf2234d 100644
--- a/src/renderer/backends/backend_vulkan.c
+++ b/src/renderer/backends/backend_vulkan.c
@@ -1 +1,22 @@
-// #FUTURE \ No newline at end of file
+#define CEL_PLATFORM_LINUX
+
+#include "defines.h"
+#include "file.h"
+#include "log.h"
+#include "maths_types.h"
+#include "render_types.h"
+
+#include <stdlib.h>
+
+#if CEL_REND_BACKEND_VULKAN
+
+#include <glad/glad.h>
+
+#include <glfw3.h>
+
+typedef struct vulkan_context vulkan_context;
+static vulkan_context context;
+
+/** @brief Internal backend state */
+typedef struct vulkan_state {
+} vulkan_state; \ No newline at end of file
diff --git a/src/renderer/render.h b/src/renderer/render.h
index 3a06972..db74acc 100644
--- a/src/renderer/render.h
+++ b/src/renderer/render.h
@@ -28,6 +28,7 @@ struct render_packet;
void render_frame_begin(renderer* ren);
void render_frame_end(renderer* ren);
+void render_frame_draw(renderer* ren);
// --- models meshes
void model_upload_meshes(renderer* ren, model* model);