mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 05:31:12 +00:00
Revised an array access of Level to support MSVC
This commit is contained in:
parent
bd0e6f3327
commit
a5268a647f
@ -1599,12 +1599,8 @@ namespace {
|
||||
int memberMax = _memberCountPerComp;
|
||||
for (int i = 0; i < _compCount; ++i) {
|
||||
int count = _countsAndOffsets[2*i];
|
||||
if (count == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Index *dstMembers = &dstIndices[_countsAndOffsets[2*i + 1]];
|
||||
Index *dstMembers = &dstIndices[0] + _countsAndOffsets[2*i + 1];
|
||||
Index *srcMembers = 0;
|
||||
|
||||
if (count <= _memberCountPerComp) {
|
||||
|
Loading…
Reference in New Issue
Block a user