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 | c6a81448f8d55a510d8e32cf28e1e174bf2574dd (patch) | |
tree | 5c7a2327cc77fae5397ee64c294ce12b40894b43 /src/mesa/main/debug.c | |
parent | 4f57fbb507c77a627c9660756ce1b7ab8bcfeb78 (diff) |
mesa: remove DD_POINT_ATTEN 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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index 28da81f37be..aae1d02bdb8 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -100,15 +100,14 @@ void _mesa_print_tri_caps( const char *name, GLuint flags ) { _mesa_debug(NULL, - "%s: (0x%x) %s%s%s%s%s%s\n", + "%s: (0x%x) %s%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, " : "", - (flags & DD_POINT_ATTEN) ? "point-atten, " : "" + (flags & DD_TRI_SMOOTH) ? "tri-smooth, " : "" ); } |