diff options
author | Brian Paul <[email protected]> | 2004-02-24 02:42:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-24 02:42:46 +0000 |
commit | ffa7eff9ff459060364f0ed93865351f7fc15035 (patch) | |
tree | ee9b8f3db41ea0b53b401795ef7ff054fd75b151 /src/mesa/tnl/t_save_api.c | |
parent | cf20f8cc3f92fcc6441b55a793bcede0d83a2a69 (diff) |
glDrawArrays loop was wrong
Diffstat (limited to 'src/mesa/tnl/t_save_api.c')
-rw-r--r-- | src/mesa/tnl/t_save_api.c | 4 |
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(); } |