diff options
author | Brian Paul <[email protected]> | 2012-05-24 11:09:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-05-25 10:02:22 -0600 |
commit | 1609efb4180659322557380550d17ed7adb8eae2 (patch) | |
tree | b0c28d79339a82776e8d0a6ab4281cb8b1117e76 /src/gallium/targets/xvmc-nouveau | |
parent | 93ea5cd80b98219100782feb3fee9d7283059036 (diff) |
draw: fix primitive restart bug by using the index buffer offset
The code which scans the index buffer for restart indexes wasn't adding
the index buffer offset so we were always starting at offset=0. The
offset is usually zero so it wasn't noticed before.
Fixes a failure in the piglit primitive-restart test when testing
vertex data + index data in a single VBO.
NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/gallium/targets/xvmc-nouveau')
0 files changed, 0 insertions, 0 deletions