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 a5af6229104fa9f35eddd6a9b1043f862b8e285b..a490dff5e90c967c0f21fd3ffd868c074abf9489 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;
    }