diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2005-12-01 12:53:15 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2005-12-01 12:53:15 +0000 |
commit | dd4f0d1a93c2faf22a5f75aa54fddc45878082b2 (patch) | |
tree | 5a4ba901039b57ac434d3fbfbc1b55749e5183cb /src/mesa/tnl/t_context.h | |
parent | f285f0d8f60adafdfba5c1f0563b81c68bd398d3 (diff) |
Clean up clipping somewhat
- no need to update ClipMask on generated vertices
- remove the VB->LastClipped value
Line clipping algorithm changed and simplified somewhat. The old one
was based on the triangle routine and probably wouldn't have recognized
lines that were clipped down to nothing (ie culled, but not by a single
plane).
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index f36dec23a5..da225b518e 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -450,11 +450,6 @@ struct vertex_buffer /* Inputs to the vertex program stage */ GLvector4f *AttribPtr[_TNL_ATTRIB_MAX]; /* GL_NV_vertex_program */ - - GLuint LastClipped; - /* Private data from _tnl_render_stage that has no business being - * in this struct. - */ }; |