Mesa (master): mesa: Also print _NEW_STENCIL in _mesa_print_state()

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Mar 23 19:51:31 UTC 2010


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

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Mar 23 12:07:45 2010 -0400

mesa: Also print _NEW_STENCIL in _mesa_print_state()

---

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

diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 33b35e0..9bcfc10 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -85,7 +85,7 @@ void
 _mesa_print_state( const char *msg, GLuint state )
 {
    _mesa_debug(NULL,
-	   "%s: (0x%x) %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
+	   "%s: (0x%x) %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
 	   msg,
 	   state,
 	   (state & _NEW_MODELVIEW)       ? "ctx->ModelView, " : "",
@@ -105,6 +105,7 @@ _mesa_print_state( const char *msg, GLuint state )
 	   (state & _NEW_POLYGON)         ? "ctx->Polygon, " : "",
 	   (state & _NEW_POLYGONSTIPPLE)  ? "ctx->PolygonStipple, " : "",
 	   (state & _NEW_SCISSOR)         ? "ctx->Scissor, " : "",
+	   (state & _NEW_STENCIL)         ? "ctx->Stencil, " : "",
 	   (state & _NEW_TEXTURE)         ? "ctx->Texture, " : "",
 	   (state & _NEW_TRANSFORM)       ? "ctx->Transform, " : "",
 	   (state & _NEW_VIEWPORT)        ? "ctx->Viewport, " : "",




More information about the mesa-commit mailing list