aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-04-16 19:06:22 -0600
committerBrian Paul <[email protected]>2013-04-17 11:59:40 -0600
commitdfb1474aac97b94b36eed56954cbf2fadd0edded (patch)
tree6d328fa07e5bcd5be45980e507c0d4d3547f03a3 /src/mesa/main/debug.c
parentc6a81448f8d55a510d8e32cf28e1e174bf2574dd (diff)
mesa: remove DD_TRI_OFFSET flag
Make it a local macro for the i915 driver. v2: use conditional operator instead of bit shifting 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 aae1d02bdb8..d4ae741a2a4 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -100,13 +100,12 @@ void
_mesa_print_tri_caps( const char *name, GLuint flags )
{
_mesa_debug(NULL,
- "%s: (0x%x) %s%s%s%s%s\n",
+ "%s: (0x%x) %s%s%s%s\n",
name,
flags,
(flags & DD_TRI_LIGHT_TWOSIDE) ? "tri-light-twoside, " : "",
(flags & DD_TRI_UNFILLED) ? "tri-unfilled, " : "",
(flags & DD_TRI_STIPPLE) ? "tri-stipple, " : "",
- (flags & DD_TRI_OFFSET) ? "tri-offset, " : "",
(flags & DD_TRI_SMOOTH) ? "tri-smooth, " : ""
);
}