From 0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df Mon Sep 17 00:00:00 2001 From: Omni Date: Sun, 23 Jun 2024 17:22:36 +1000 Subject: depth map is working again --- src/renderer/ral.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/renderer/ral.c') diff --git a/src/renderer/ral.c b/src/renderer/ral.c index a52d605..9ca99ce 100644 --- a/src/renderer/ral.c +++ b/src/renderer/ral.c @@ -1,8 +1,8 @@ #include "ral.h" #include "file.h" #include "log.h" -#include "str.h" #include "mem.h" +#include "str.h" #if defined(CEL_REND_BACKEND_VULKAN) #include "backend_vulkan.h" @@ -88,10 +88,10 @@ shader_desc shader_quick_load(const char* filepath) { ERROR_EXIT("Failed to load shaders from disk"); } - return (shader_desc) { + return (shader_desc){ .debug_name = filepath, .code = shader.contents, .filepath = path, .is_spirv = true, }; -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2