diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-26 08:22:09 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-26 08:22:09 -0600 |
commit | efda5cb6263631175aa2efe46df9322b3c5775ee (patch) | |
tree | 1943ab30014a279cd84d619cb9a97758eaec53d9 /src/mesa/swrast/s_lines.c | |
parent | 03ec41ddc51e539c989a546f33d22daa2af69095 (diff) | |
download | external_mesa3d-efda5cb6263631175aa2efe46df9322b3c5775ee.zip external_mesa3d-efda5cb6263631175aa2efe46df9322b3c5775ee.tar.gz external_mesa3d-efda5cb6263631175aa2efe46df9322b3c5775ee.tar.bz2 |
don't use rgba_line() if CHAN_BITS==32
Diffstat (limited to 'src/mesa/swrast/s_lines.c')
-rw-r--r-- | src/mesa/swrast/s_lines.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index 15ef623..3de4387 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.5.3 + * Version: 7.1 * * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * @@ -279,7 +279,11 @@ _swrast_choose_line( GLcontext *ctx ) || ctx->Line.StippleFlag) { /* no texture, but Z, fog, width>1, stipple, etc. */ if (rgbmode) +#if CHAN_BITS == 32 + USE(general_line); +#else USE(rgba_line); +#endif else USE(ci_line); } |