From: Brian Paul Date: Wed, 8 Jun 2011 21:15:07 +0000 (-0600) Subject: st/mesa: more helpful debug message in destroy_program_variants_cb() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e37e196151bd8c10a8475680ed91a82de8f7aad3;p=mesa.git st/mesa: more helpful debug message in destroy_program_variants_cb() --- 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); } }