mesa: fix stand-alone glslcompiler
authorBrian Paul <brianp@vmware.com>
Mon, 2 Feb 2009 19:24:58 +0000 (12:24 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 2 Feb 2009 23:51:45 +0000 (16:51 -0700)
src/mesa/drivers/glslcompiler/glslcompiler.c

index 34cce977c8646daff9948884e4366a6ed4dd42f3..918ec418563cc3e8c47c41b7fb0a7dda620d4974 100644 (file)
@@ -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);
 }