From fcb0d8968dfb32d26219f7671866f993be5f548c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Mar 2009 08:38:32 -0600 Subject: mesa: more info in _mesa_problem() call --- src/mesa/main/texstate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/texstate.c') diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index a5af622910..a490dff5e9 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -183,7 +183,9 @@ calculate_derived_texenv( struct gl_tex_env_combine_state *state, break; default: - _mesa_problem(NULL, "Invalid texBaseFormat in calculate_derived_texenv"); + _mesa_problem(NULL, + "Invalid texBaseFormat 0x%x in calculate_derived_texenv", + texBaseFormat); return; } -- cgit v1.2.3