summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-13 08:38:32 -0600
committerBrian Paul <[email protected]>2009-03-13 08:46:03 -0600
commitfcb0d8968dfb32d26219f7671866f993be5f548c (patch)
tree121851b32276358a8b19b4460c5b46a3deb7beb9 /src/mesa/main
parent4681a1d1eeb2aa8dfaf3af02c37e9ccd9a523565 (diff)
mesa: more info in _mesa_problem() call
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index a5af6229104..a490dff5e90 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;
}