summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-24 14:40:09 -0600
committerBrian <[email protected]>2007-10-24 14:40:09 -0600
commit7636aac54bb357ce907ae6cc2c41f32957faecf3 (patch)
treea4aebd346f243a63bc1ed86c7dc3150820a74107 /src/mesa/pipe/draw
parent40a0b053f78acd0a08f6876518b8e9301480431f (diff)
Fix glDrawElements + VBO rendering when ptr/offset is not zero.
When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
Diffstat (limited to 'src/mesa/pipe/draw')
0 files changed, 0 insertions, 0 deletions