summaryrefslogtreecommitdiff
path: root/src/renderer/ral.c
diff options
context:
space:
mode:
authorOmni <omniscient.oce@gmail.com>2024-06-23 17:22:36 +1000
committerOmni <omniscient.oce@gmail.com>2024-06-23 17:22:36 +1000
commit0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df (patch)
treeb28c0bf40d03bcda86289ef42e8df8ad67539fdd /src/renderer/ral.c
parent17f0db6607534c5bf1ba96153fabd3fdbb399ed9 (diff)
depth map is working again
Diffstat (limited to 'src/renderer/ral.c')
-rw-r--r--src/renderer/ral.c6
1 files changed, 3 insertions, 3 deletions
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
+}