aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/prog_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/prog_print.c')
-rw-r--r--mesalib/src/mesa/program/prog_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/program/prog_print.c b/mesalib/src/mesa/program/prog_print.c
index 70412b1fa..dfccc60f6 100644
--- a/mesalib/src/mesa/program/prog_print.c
+++ b/mesalib/src/mesa/program/prog_print.c
@@ -1068,9 +1068,9 @@ _mesa_write_shader_to_file(const struct gl_shader *shader)
* _mesa_write_shader_to_file function.
*/
void
-_mesa_append_uniforms_to_file(const struct gl_shader *shader,
- const struct gl_program *prog)
+_mesa_append_uniforms_to_file(const struct gl_shader *shader)
{
+ const struct gl_program *const prog = shader->Program;
const char *type;
char filename[100];
FILE *f;