OSDN Git Service

Fix user-defined clip planes. They seem to work properly now.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 24 Aug 2007 17:05:31 +0000 (11:05 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 24 Aug 2007 17:06:13 +0000 (11:06 -0600)
commitf9a77a3080598d03c484fa5d04c213b8a06d43d3
treedd20a620dd775bc4b8c10eebadf9869f78665ee9
parent6a13caec093dc86fbce80c9f78426d39e9b4276b
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.
src/mesa/pipe/draw/draw_clip.c
src/mesa/pipe/draw/draw_context.c
src/mesa/pipe/draw/draw_context.h
src/mesa/pipe/draw/draw_prim.c
src/mesa/pipe/draw/draw_private.h