summaryrefslogtreecommitdiff
path: root/src/new_render/shadows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/new_render/shadows.c')
-rw-r--r--src/new_render/shadows.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/new_render/shadows.c b/src/new_render/shadows.c
index df836b4..612fd34 100644
--- a/src/new_render/shadows.c
+++ b/src/new_render/shadows.c
@@ -1,6 +1,7 @@
-#include <string.h>
#include "shadows.h"
+#include <string.h>
#include "core.h"
+#include "file.h"
#include "log.h"
#include "maths.h"
#include "ral_common.h"
@@ -28,7 +29,7 @@ ShaderDataLayout ShadowUniforms_GetLayout(void* data) {
};
if (has_data) {
- b1.data.bytes.data = data;
+ b1.data.bytes.data = data;
}
return (ShaderDataLayout){ .binding_count = 1, .bindings = { b1 } };