summaryrefslogtreecommitdiff
path: root/src/gl.c
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-11-29 22:32:38 +0000
committeronelin <oscar@nelin.dk>2025-12-18 21:14:16 +0000
commitf07532676f147f7cb3024871df3d7e664f390fed (patch)
tree89ad0af496f1255a3701424b31687915f98a91b3 /src/gl.c
parentddb2ff380de24824db70d49a40bfd78032612b77 (diff)
Use `compile_shader_f` instead of source-string version
Diffstat (limited to 'src/gl.c')
-rw-r--r--src/gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl.c b/src/gl.c
index a512b46..819b534 100644
--- a/src/gl.c
+++ b/src/gl.c
@@ -110,8 +110,8 @@ u32 load_shaders(
i32 infolog_len;
// Create the shaders
- const Shader vertexShader = compile_shader(vertex_file_path, Shader_Vertex);
- const Shader fragmentShader = compile_shader(fragment_file_path, Shader_Fragment);
+ const Shader vertexShader = compile_shader_f(vertex_file_path, Shader_Vertex);
+ const Shader fragmentShader = compile_shader_f(fragment_file_path, Shader_Fragment);
// Link the program
INFO("Linking program");