summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index 1aaebe8..144a7a0 100644
--- a/text.c
+++ b/text.c
@@ -112,7 +112,7 @@ void main() {\n\
}\n\
";
- text_program = gl_compile_and_link_shaders(vshader_code, fshader_code);
+ text_program = gl_compile_and_link_shaders(NULL, vshader_code, fshader_code);
text_v_pos = gl_attrib_loc(text_program, "v_pos");
text_v_color = gl_attrib_loc(text_program, "v_color");
text_v_tex_coord = gl_attrib_loc(text_program, "v_tex_coord");