From e37e196151bd8c10a8475680ed91a82de8f7aad3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 8 Jun 2011 15:15:07 -0600 Subject: st/mesa: more helpful debug message in destroy_program_variants_cb() --- src/mesa/state_tracker/st_program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') 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); } } -- cgit v1.2.3