diff options
author | Zack Rusin <[email protected]> | 2007-10-03 10:08:45 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-10-03 10:33:38 -0400 |
commit | cdd38d487a311e6c71b76382d428f5dc26caf067 (patch) | |
tree | ae874c5348965c70aabcc6e9a6b5f2ac24775885 /src/mesa/pipe/draw/draw_context.c | |
parent | a7e997cfc5d909eebbc16ba5b0362e9778f01561 (diff) |
Unify handling of userplanes and regular planes to simplify
the clipping code.
(really done by Keith)
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index 3fb667ab1a9..44e770f364d 100644 --- a/src/mesa/pipe/draw/draw_context.c +++ b/src/mesa/pipe/draw/draw_context.c @@ -145,8 +145,6 @@ void draw_set_clip_state( struct draw_context *draw, assert(clip->nr <= PIPE_MAX_CLIP_PLANES); memcpy(&draw->plane[6], clip->ucp, clip->nr * sizeof(clip->ucp[0])); draw->nr_planes = 6 + clip->nr; - /* bitmask of the enabled user-defined clip planes */ - draw->user_clipmask = ((1 << clip->nr) - 1) << 6; } |