summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-03-07 19:15:03 -0800
committerZack Rusin <[email protected]>2013-03-07 20:16:07 -0800
commit7295fad2043e2cb09fd1c0b98357464062478912 (patch)
treee9209d1cdaed794a1d007f668898f12bb9ea582d /common.py
parente5406f70589049b12cbff8b1a5b451001d46e687 (diff)
draw/gs: Correctly iterate the emitted primitives
We were assuming that each emitted primitive had the same number of vertices. That is incorrect. Emitted primitives can have arbirtrary number of vertices. Simply increment index on iteration to fix it. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions