From: Brian Paul Date: Mon, 2 Feb 2009 19:24:58 +0000 (-0700) Subject: mesa: fix stand-alone glslcompiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e33edafb2c81decd05dccae06fe6f059f53e2f25;p=mesa.git mesa: fix stand-alone glslcompiler --- 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); }