diff options
author | Brian Paul <brianp@vmware.com> | 2013-04-16 19:06:22 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-04-17 11:59:41 -0600 |
commit | c9bb052e31b7952272e60d28969e90eafb6b3e1f (patch) | |
tree | a30c87f75f8019051f6ccb9085309028e2f29f40 /src/mesa/main/debug.c | |
parent | 56dc53ed5bae2751eeadbfc1d163dfec72e8cfc8 (diff) | |
download | external_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.zip external_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.tar.gz external_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.tar.bz2 |
mesa: remove DD_TRI_UNFILLED flag
Use alternate code in intel, r200, radeon drivers.
v2: use conditional operator instead of bit shifting
Reviewed-by: Eric Anholt <eric@anholt.net>
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 418f0e2..e8d850d 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -100,11 +100,10 @@ void _mesa_print_tri_caps( const char *name, GLuint flags ) { _mesa_debug(NULL, - "%s: (0x%x) %s%s\n", + "%s: (0x%x) %s\n", name, flags, - (flags & DD_TRI_LIGHT_TWOSIDE) ? "tri-light-twoside, " : "", - (flags & DD_TRI_UNFILLED) ? "tri-unfilled, " : "" + (flags & DD_TRI_LIGHT_TWOSIDE) ? "tri-light-twoside, " : "" ); } |