Blender Git Loki
Git Commits -> Revision 5241886
Revision 5241886 by Nicholas Bishop (master) March 16, 2012, 23:21 (GMT) |
Fix for size of VBO index type when drawing multires in sculpt mode. The VBO index type can be either ushort or uint depending on the grid size. The comparison was checking how many quads are in the array, but this was incorrect; the size of the index elements should depend on the maximum value they reference, i.e. the maximum coord/normal element. |
Commit Details:
Full Hash: 52418868eb57787803344bbf993bd2fc3c15dc2c
SVN Revision: 44931
Parent Commit: fa17b0a
Lines Changed: +2, -2
1 Modified Path:
/source/blender/gpu/intern/gpu_buffers.c (+2, -2) (Diff)