summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_save_api.c')
-rw-r--r--src/mesa/tnl/t_save_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_api.c b/src/mesa/tnl/t_save_api.c
index b6d083d7a11..db338bbef6c 100644
--- a/src/mesa/tnl/t_save_api.c
+++ b/src/mesa/tnl/t_save_api.c
@@ -1297,8 +1297,8 @@ static void GLAPIENTRY _save_OBE_DrawArrays(GLenum mode, GLint start, GLsizei co
return;
_save_NotifyBegin( ctx, mode | PRIM_WEAK );
- for (i = start ; i < count ; i++)
- _glapi_Dispatch->ArrayElement( i );
+ for (i = 0; i < count; i++)
+ _glapi_Dispatch->ArrayElement(start + i);
_glapi_Dispatch->End();
}