summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-02 12:24:58 -0700
committerBrian Paul <[email protected]>2009-02-02 16:51:45 -0700
commite33edafb2c81decd05dccae06fe6f059f53e2f25 (patch)
tree2dc1b93facef63a284c0c3df1345bbe5baf280e3
parentd2eff33ab7fda9527458ea35d9eb109ec2988490 (diff)
mesa: fix stand-alone 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);
}