diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 14:40:09 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 14:40:09 -0600 |
commit | 7636aac54bb357ce907ae6cc2c41f32957faecf3 (patch) | |
tree | a4aebd346f243a63bc1ed86c7dc3150820a74107 /src/mesa/tnl/t_vertex.c | |
parent | 40a0b053f78acd0a08f6876518b8e9301480431f (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/tnl/t_vertex.c')
0 files changed, 0 insertions, 0 deletions