projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cff2ed
)
Fix calling fallback_drawarrays() with the wrong arguments
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Mon, 1 Mar 2004 23:29:27 +0000
(23:29 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Mon, 1 Mar 2004 23:29:27 +0000
(23:29 +0000)
src/mesa/tnl/t_array_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_array_api.c
b/src/mesa/tnl/t_array_api.c
index fe1878af8e6e3eecdc93aca83aba83f2b333f0ce..8375c1711fe3687d9ba2fcb4e452d4d537b60965 100644
(file)
--- a/
src/mesa/tnl/t_array_api.c
+++ b/
src/mesa/tnl/t_array_api.c
@@
-150,7
+150,7
@@
_tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
/* Small primitives: attempt to share a vb (at the expense of
* using the immediate interface).
*/
- fallback_drawarrays( ctx, mode, start,
start +
count );
+ fallback_drawarrays( ctx, mode, start, count );
}
else if (start >= (GLint) ctx->Array.LockFirst &&
start + count <= (GLint)(ctx->Array.LockFirst + ctx->Array.LockCount)) {
@@
-233,7
+233,7
@@
_tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
skip = 0;
}
else {
- fallback_drawarrays( ctx, mode, start,
start +
count );
+ fallback_drawarrays( ctx, mode, start, count );
return;
}
}