diff options
author | Keith Whitwell <[email protected]> | 2005-04-23 11:55:18 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-04-23 11:55:18 +0000 |
commit | df943a40411d2b71381e5053d7c59e8cd2400fff (patch) | |
tree | e10d686768dc55bd5b60cfbac2e79fa5380bc9a3 /src/mesa/tnl/t_context.h | |
parent | 0d4af83f252d51f504b7df59a9fab7f83672b9ba (diff) |
Fix the worst problems with dangling edgeflag references in
display lists. These mainly arise from edgeflag being the only
attribute no longer stored internally as a float and requiring
various special case paths to accomodate it.
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 905933a0d9b..e8a3c259822 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -282,6 +282,7 @@ struct tnl_vtx { GLfloat vertex[_TNL_ATTRIB_MAX*4]; /* current vertex */ GLfloat *attrptr[_TNL_ATTRIB_MAX]; /* points into vertex */ GLfloat *current[_TNL_ATTRIB_MAX]; /* points into ctx->Current, etc */ + GLfloat CurrentFloatEdgeFlag; GLuint counter, initial_counter; struct tnl_copied_vtx copied; @@ -379,6 +380,8 @@ struct tnl_save { GLuint opcode_vertex_list; struct tnl_copied_vtx copied; + + GLfloat CurrentFloatEdgeFlag; GLfloat *current[_TNL_ATTRIB_MAX]; /* points into ctx->ListState */ GLubyte *currentsz[_TNL_ATTRIB_MAX]; |