am 9cc36ac2: Merge "Frameworks/base: Remove duplicate check in Mesh"
* commit '9cc36ac2a2e07f81a9b11da7ff08e0da58b0143e': Frameworks/base: Remove duplicate check in Mesh
This commit is contained in:
@@ -811,9 +811,7 @@ public class Mesh extends BaseObj {
|
||||
|
||||
sm.getVertexAllocation(0).copy1DRangeFromUnchecked(0, mMaxIndex, mVtxData);
|
||||
if(uploadToBufferObject) {
|
||||
if (uploadToBufferObject) {
|
||||
sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT);
|
||||
}
|
||||
sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT);
|
||||
}
|
||||
|
||||
sm.getIndexSetAllocation(0).copy1DRangeFromUnchecked(0, mIndexCount, mIndexData);
|
||||
|
||||
Reference in New Issue
Block a user