don't use rgba_line() if CHAN_BITS==32
authorBrian <brian.paul@tungstengraphics.com>
Thu, 26 Jul 2007 14:22:09 +0000 (08:22 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 26 Jul 2007 14:22:09 +0000 (08:22 -0600)
src/mesa/swrast/s_lines.c

index 15ef6233eda8fa3971fe775c2cf1c16fe2086778..3de438760b52cf9f5fb36a404fbee353e77231d1 100644 (file)
@@ -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);
       }