summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_save_loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_save_loopback.c')
-rw-r--r--src/mesa/tnl/t_save_loopback.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/tnl/t_save_loopback.c b/src/mesa/tnl/t_save_loopback.c
index 9d87c20df84..b96bb4ec552 100644
--- a/src/mesa/tnl/t_save_loopback.c
+++ b/src/mesa/tnl/t_save_loopback.c
@@ -195,12 +195,6 @@ static attr_func mat_attrfunc[4] = {
};
-static void index_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
-{
- (void) target;
- CALL_Indexf(ctx->Exec, (v[0]));
-}
-
static void edgeflag_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
{
(void) target;
@@ -298,7 +292,7 @@ void _tnl_loopback_vertex_list( GLcontext *ctx,
GLuint i, nr = 0;
/* conventional + generic attributes */
- for (i = 0 ; i <= _TNL_ATTRIB_ATTRIBUTE15 ; i++) {
+ for (i = 0 ; i <= _TNL_ATTRIB_GENERIC15 ; i++) {
if (list->attrsz[i]) {
la[nr].target = i;
la[nr].sz = list->attrsz[i];