summaryrefslogtreecommitdiff
path: root/src/new_render/pbr.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 17:20:13 +1000
commitaa1eeebb1c05edc22335cbb48af5d42be20750c0 (patch)
treecc0ef4dc620cb8621fd1a3762b7205b7a16401dc /src/new_render/pbr.c
parentf083cacb259054ce996b70f8b9dc0d9eb0bdbfb8 (diff)
moving some maths functions to implementation file
Diffstat (limited to 'src/new_render/pbr.c')
-rw-r--r--src/new_render/pbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_render/pbr.c b/src/new_render/pbr.c
index 2393aa9..6df4e97 100644
--- a/src/new_render/pbr.c
+++ b/src/new_render/pbr.c
@@ -34,8 +34,8 @@ GPU_Pipeline* PBR_PipelineCreate(GPU_Renderpass* rpass) {
// if (!vertex_shader.has_value || !fragment_shader.has_value) {
// ERROR_EXIT("Failed to load shaders from disk")
// }
- char* vert_shader = string_from_file(vert_path);
- char* frag_shader = string_from_file(frag_path);
+ char* vert_shader = string_from_file(vert_path);
+ char* frag_shader = string_from_file(frag_path);
ShaderData camera_data = { .get_layout = &Binding_Camera_GetLayout };
ShaderData model_data = { .get_layout = &Binding_Model_GetLayout };