Blender Git Commit Log
Git Commits -> Revision ef1918d
Revision ef1918d by Clément Foucault (master) October 11, 2017, 00:15 (GMT) |
Gawain: Fix instancing messing next draw. Everything was fine if one batch is always used with instancing. But problem arise if the next drawcall for this batch is not using instancing as the attrib divisor stays set to 1 in th VAO. As instancing is less used than normal drawing I prefer to reset the divisor after drawing as it is reset before drawing instances. |
Commit Details:
Full Hash: ef1918d3128b1f56d69c189a838b648dc88de4c9
Parent Commit: d468421
Lines Changed: +8, -0
1 Modified Path:
/intern/gawain/src/gwn_batch.c (+8, -0) (Diff)