mesa: more info in _mesa_problem() call
authorBrian Paul <brianp@vmware.com>
Fri, 13 Mar 2009 14:38:32 +0000 (08:38 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Mar 2009 14:46:03 +0000 (08:46 -0600)
src/mesa/main/texstate.c

index a5af622..a490dff 100644 (file)
@@ -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;
    }