diff options
author | Brian Paul <[email protected]> | 2013-04-16 19:06:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-17 11:59:40 -0600 |
commit | 8ac8ae83609d5d5f28037ccd5b81ce5e40db2d33 (patch) | |
tree | b7f68f0c73f16a1e38af931ab86e1c3187447a3f /src/mesa/main/debug.c | |
parent | 55b2033f0a4896a7930469711a052083c15edd3f (diff) |
mesa: remove DD_LINE_STIPPLE flag
For the i915 driver, make it a local macro.
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index 7dd108c25d5..533c5ed6ced 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -100,7 +100,7 @@ void _mesa_print_tri_caps( const char *name, GLuint flags ) { _mesa_debug(NULL, - "%s: (0x%x) %s%s%s%s%s%s%s%s\n", + "%s: (0x%x) %s%s%s%s%s%s%s\n", name, flags, (flags & DD_TRI_LIGHT_TWOSIDE) ? "tri-light-twoside, " : "", @@ -108,7 +108,6 @@ _mesa_print_tri_caps( const char *name, GLuint flags ) (flags & DD_TRI_STIPPLE) ? "tri-stipple, " : "", (flags & DD_TRI_OFFSET) ? "tri-offset, " : "", (flags & DD_TRI_SMOOTH) ? "tri-smooth, " : "", - (flags & DD_LINE_STIPPLE) ? "line-stipple, " : "", (flags & DD_POINT_SMOOTH) ? "point-smooth, " : "", (flags & DD_POINT_ATTEN) ? "point-atten, " : "" ); |