diff options
author | Brian Paul <[email protected]> | 2002-01-28 03:42:28 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-01-28 03:42:28 +0000 |
commit | 7956292a765910077f50352d7cd0174e1e66d26c (patch) | |
tree | 59fa9504eaa4828c7073273d93d42914ce9f5e44 /src/mesa/swrast/swrast.h | |
parent | f1e236987829393c81dc86ea19cb49eefe190317 (diff) |
More span improvements. Removed _mesa_write_monocolor_span().
Removed last of span.filled* flags and Klaus's macros.
More simplification of triangle functions.
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r-- | src/mesa/swrast/swrast.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h index 02b23865923..9a20370888c 100644 --- a/src/mesa/swrast/swrast.h +++ b/src/mesa/swrast/swrast.h @@ -1,4 +1,4 @@ -/* $Id: swrast.h,v 1.17 2002/01/28 00:07:33 brianp Exp $ */ +/* $Id: swrast.h,v 1.18 2002/01/28 03:42:28 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -160,10 +160,6 @@ struct sw_span { /* This mask indicates if fragment is alive or culled */ GLubyte mask[MAX_WIDTH]; - -#ifdef DEBUG - GLboolean filledAlpha, filledColor; -#endif }; @@ -175,15 +171,6 @@ do { \ } while (0) -#ifdef DEBUG -#define SW_SPAN_SET_FLAG(flag) {ASSERT((flag) == GL_FALSE);(flag) = GL_TRUE;} -#define SW_SPAN_RESET(span) { \ - (span).filledAlpha = (span).filledColor = GL_FALSE; \ - (span).start = 0; (span).writeAll = GL_TRUE;} -#else -#define SW_SPAN_SET_FLAG(flag) ; -#define SW_SPAN_RESET(span) {(span).start = 0;(span).writeAll = GL_TRUE;} -#endif struct swrast_device_driver; |