summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-06-08 15:15:07 -0600
committerBrian Paul <brianp@vmware.com>2011-06-08 15:15:07 -0600
commite37e196151bd8c10a8475680ed91a82de8f7aad3 (patch)
treec1c9a3a693a934dac07b9af359eac56d22b3b62a /src/mesa
parent2d22186ca80cee2c5929f8fb59b18eec12995534 (diff)
st/mesa: more helpful debug message in destroy_program_variants_cb()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 0b1ad63afeb..7a6d33d3fea 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1087,8 +1087,8 @@ destroy_program_variants(struct st_context *st, struct gl_program *program)
}
break;
default:
- _mesa_problem(NULL, "Unexpected program target in "
- "destroy_program_variants_cb()");
+ _mesa_problem(NULL, "Unexpected program target 0x%x in "
+ "destroy_program_variants_cb()", program->Target);
}
}