Module: Mesa
Branch: master
Commit: fcb0d8968dfb32d26219f7671866f993be5f548c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcb0d8968dfb32d26219f7671866f993be5f548c

Author: Brian Paul <[email protected]>
Date:   Fri Mar 13 08:38:32 2009 -0600

mesa: more info in _mesa_problem() call

---

 src/mesa/main/texstate.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index a5af622..a490dff 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;
    }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to