aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-18 17:10:47 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-18 17:10:47 +0200
commit2c012791b26007f6a57c33d47ad015f1457e07b8 (patch)
treeb6dcac59a244d46c6a1a1d9a86efe83e9da3bd3b
parent3495a949552769c33c50788529f447ffe298e46a (diff)
fix typobug2
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7769ed9..d539aa7 100644
--- a/main.c
+++ b/main.c
@@ -79,7 +79,7 @@ int main(int argc, char** argv) {
// test w/ glsl source
GLuint src_vert = load_shader_src(GL_VERTEX_SHADER, vert_src);
- GLuint src_frag = load_shader_src(GL_FRAGMENT_SHADER, vert_src);
+ GLuint src_frag = load_shader_src(GL_FRAGMENT_SHADER, frag_src);
GLuint src_shader = link_shaders(src_vert, src_frag);
test("GLSL", src_shader);