commit | 102ca7466e2cb5db75cc6d79f575183052f59232 | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Nov 24 22:34:14 2011 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Nov 24 22:34:14 2011 +0000 |
tree | 24c4d2c289d52314e3b089e6338f9f1ef686f230 | |
parent | 7a2fdc9c030a811518a6099617b4817ca3140102 [diff] |
Fix rendering for the closing line of line loops. Trac #19035 Signed-off-by: Nicolas Capens Line loops via DrawArrays were incorrect because the vertex buffer already has the vertex offset factored in. Line loops via DrawElements were incorrect because the vertex buffer was offset by the minIndex. We need to use the same minIndex when rendering the closing loop. git-svn-id: https://angleproject.googlecode.com/svn/trunk@892 736b8ea6-26fd-11df-bfd4-992fa37f6226