diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 03:21:40 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 03:21:40 +0400 |
commit | 52418868eb57787803344bbf993bd2fc3c15dc2c (patch) | |
tree | 8e2954ab4f1e19b20856b1b9ea4adfa77d6a4f0b /source/blender/blenkernel/intern/cdderivedmesh.c | |
parent | fa17b0a911c218ad0e4f230e2039a5f6cacea403 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/cdderivedmesh.c')
0 files changed, 0 insertions, 0 deletions