summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glslcompiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/glslcompiler')
-rw-r--r--src/mesa/drivers/glslcompiler/glslcompiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glslcompiler/glslcompiler.c b/src/mesa/drivers/glslcompiler/glslcompiler.c
index 34cce977c86..918ec418563 100644
--- a/src/mesa/drivers/glslcompiler/glslcompiler.c
+++ b/src/mesa/drivers/glslcompiler/glslcompiler.c
@@ -227,7 +227,7 @@ PrintShaderInstructions(GLuint shader, FILE *f)
GET_CURRENT_CONTEXT(ctx);
struct gl_shader *sh = _mesa_lookup_shader(ctx, shader);
struct gl_program *prog = sh->Program;
- _mesa_print_program_opt(prog, Options.Mode, Options.LineNumbers);
+ _mesa_fprint_program_opt(stdout, prog, Options.Mode, Options.LineNumbers);
}