From 4fa2db8e3dbcca107af1b6bb027cbcb752199705 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 22 Mar 2024 21:09:04 +1100 Subject: swap PCs --- src/renderer/backends/backend_vulkan.c | 23 ++++++++++++++++++++++- src/renderer/render.h | 1 + 2 files changed, 23 insertions(+), 1 deletion(-) 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 + +#if CEL_REND_BACKEND_VULKAN + +#include + +#include + +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); -- cgit v1.2.3-70-g09d2