summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-04-15 02:23:37 +0200
committerMarek Olšák <[email protected]>2013-04-24 03:23:23 +0200
commitd883d008780b61e9233cb7979cfaa8ef90d7b3b7 (patch)
tree7ed3a3eb249458318855cbab511354c5f1595cc3 /src/mesa/main/debug.c
parent99bd76d834e0c771274f327e1efe9b089ff273d4 (diff)
mesa: remove _NEW_PACKUNPACK
No driver checks the flag. Nobody uses it. I also removed the FLUSH_VERTICES calls, because PixelStorei has no effect on rendering. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 5dda766b934..bfd3d850db4 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -66,7 +66,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\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\n",
msg,
state,
(state & _NEW_MODELVIEW) ? "ctx->ModelView, " : "",
@@ -88,7 +88,6 @@ _mesa_print_state( const char *msg, GLuint state )
(state & _NEW_TEXTURE) ? "ctx->Texture, " : "",
(state & _NEW_TRANSFORM) ? "ctx->Transform, " : "",
(state & _NEW_VIEWPORT) ? "ctx->Viewport, " : "",
- (state & _NEW_PACKUNPACK) ? "ctx->Pack/Unpack, " : "",
(state & _NEW_ARRAY) ? "ctx->Array, " : "",
(state & _NEW_RENDERMODE) ? "ctx->RenderMode, " : "",
(state & _NEW_BUFFERS) ? "ctx->Visual, ctx->DrawBuffer,, " : "");