summaryrefslogtreecommitdiff
path: root/Makefile.mgw
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-23 15:08:54 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-23 15:08:54 -0600
commit4664261f8d8fefa347bf38a224f6584d0fdeebfc (patch)
treef2bfecda388f5ae02875aed15a09fdaf4f3852a9 /Makefile.mgw
parent3df65af849280863a15fefcb11f8304b83c9ffa0 (diff)
Fix vertex cache bug that allows multiple vertices to fall into the same slot.
Need to set the slot's bit in draw->vcache.referenced even when there was a cache hit since flushing the primitive buffer will have cleared the bitfield but not the cache's vertex indexes. Fixes a bug found when drawing long triangle fans but could be hit by other prim types as well. An alternate fix would be to call draw_vertex_cache_invalidate() from draw_vertex_cache_unreference().
Diffstat (limited to 'Makefile.mgw')
0 files changed, 0 insertions, 0 deletions