diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 14:45:31 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 14:45:31 +1000 |
commit | f8641a5cc4c8baf1f0a7be3685afc219d90143d9 (patch) | |
tree | 6f6edf43f88b456933330ec83a203bf2f414bea4 /src/new_render/shadows.c | |
parent | b9315f9cb625db09c3c41d8adf5230a67510bef7 (diff) |
whole thing is compiling and running again
Diffstat (limited to 'src/new_render/shadows.c')
-rw-r--r-- | src/new_render/shadows.c | 5 |
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 } }; |