summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_private.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-24 11:05:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-24 11:06:13 -0600
commitf9a77a3080598d03c484fa5d04c213b8a06d43d3 (patch)
treedd20a620dd775bc4b8c10eebadf9869f78665ee9 /src/mesa/pipe/draw/draw_private.h
parent6a13caec093dc86fbce80c9f78426d39e9b4276b (diff)
Fix user-defined clip planes. They seem to work properly now.
The bits for the N user-defined planes are now set in the vertex_header->clipmask. See some detailed comments about this in the clip_line() function. CLIP_USER_BIT no longer exists.
Diffstat (limited to 'src/mesa/pipe/draw/draw_private.h')
-rw-r--r--src/mesa/pipe/draw/draw_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h
index c5d4c62f71..e61f228d12 100644
--- a/src/mesa/pipe/draw/draw_private.h
+++ b/src/mesa/pipe/draw/draw_private.h
@@ -154,6 +154,7 @@ struct draw_context
*/
float plane[12][4];
unsigned nr_planes;
+ unsigned user_clipmask;
/** Describes the layout of post-transformation vertices */
struct vertex_info vertex_info;