summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_clip.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-17 12:09:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-17 12:09:31 -0600
commit7668e53c8c64570d66a626c96302a953164f319e (patch)
tree880f9a4db3958e0e813cfd6621ce5d9422076945 /src/mesa/pipe/draw/draw_clip.c
parent83f428e799d598732494f60601c5984e09829a81 (diff)
define CLIP_LEFT/RIGHT etc
Diffstat (limited to 'src/mesa/pipe/draw/draw_clip.c')
-rw-r--r--src/mesa/pipe/draw/draw_clip.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/pipe/draw/draw_clip.c b/src/mesa/pipe/draw/draw_clip.c
index 53a7b10f7d..90bfb61568 100644
--- a/src/mesa/pipe/draw/draw_clip.c
+++ b/src/mesa/pipe/draw/draw_clip.c
@@ -33,8 +33,10 @@
#include "pipe/p_util.h"
+#include "draw_context.h"
#include "draw_private.h"
+
#ifndef IS_NEGATIVE
#define IS_NEGATIVE(X) ((X) < 0.0)
#endif
@@ -136,9 +138,6 @@ static void interp( const struct clipper *clip,
}
-#define CLIP_USER_BIT 0x40
-#define CLIP_CULL_BIT 0x80
-
static INLINE float dot4( const float *a,
const float *b )