summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-05-24 11:09:18 -0600
committerBrian Paul <[email protected]>2012-05-25 10:02:22 -0600
commit1609efb4180659322557380550d17ed7adb8eae2 (patch)
treeb0c28d79339a82776e8d0a6ab4281cb8b1117e76 /src/gallium/winsys
parent93ea5cd80b98219100782feb3fee9d7283059036 (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/winsys')
0 files changed, 0 insertions, 0 deletions