aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-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);