summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-01-19 23:29:40 +0000
committerKeith Whitwell <[email protected]>2004-01-19 23:29:40 +0000
commit8d97ad18a7bd34e91d2f990b9349ea59391d4053 (patch)
treeb8b81ce01ba5c6376dd7ed370d68dcdd7b50337d /src/mesa/tnl/t_vertex.c
parent6bf808bc6c074028b51a98928b4883648c6dac05 (diff)
some more count vs. end confusion
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r--src/mesa/tnl/t_vertex.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 1e0616324eb..3729e1cc7d7 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -1009,9 +1009,9 @@ void _tnl_invalidate_vertices( GLcontext *ctx, GLuint newinputs )
void _tnl_build_vertices( GLcontext *ctx,
- GLuint start,
- GLuint count,
- GLuint newinputs )
+ GLuint start,
+ GLuint end,
+ GLuint newinputs )
{
struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx);
GLuint stride = vtx->vertex_size;
@@ -1021,18 +1021,18 @@ void _tnl_build_vertices( GLcontext *ctx,
vtx->new_inputs = 0;
if (newinputs)
- vtx->emit( ctx, start, count, v );
+ vtx->emit( ctx, start, end, v );
}
void *_tnl_emit_vertices_to_buffer( GLcontext *ctx,
- GLuint start,
- GLuint count,
- void *dest )
+ GLuint start,
+ GLuint end,
+ void *dest )
{
struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx);
- vtx->emit( ctx, start, count, dest );
- return (void *)((GLubyte *)dest + vtx->vertex_size * (count - start));
+ vtx->emit( ctx, start, end, dest );
+ return (void *)((GLubyte *)dest + vtx->vertex_size * (end - start));
}