Loading rs/java/android/renderscript/Mesh.java +1 −3 Original line number Diff line number Diff line Loading @@ -810,11 +810,9 @@ public class Mesh extends BaseObj { Mesh sm = smb.create(); sm.getVertexAllocation(0).copy1DRangeFromUnchecked(0, mMaxIndex, mVtxData); if(uploadToBufferObject) { if(uploadToBufferObject) { sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT); } } sm.getIndexSetAllocation(0).copy1DRangeFromUnchecked(0, mIndexCount, mIndexData); if (uploadToBufferObject) { Loading Loading
rs/java/android/renderscript/Mesh.java +1 −3 Original line number Diff line number Diff line Loading @@ -810,11 +810,9 @@ public class Mesh extends BaseObj { Mesh sm = smb.create(); sm.getVertexAllocation(0).copy1DRangeFromUnchecked(0, mMaxIndex, mVtxData); if(uploadToBufferObject) { if(uploadToBufferObject) { sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT); } } sm.getIndexSetAllocation(0).copy1DRangeFromUnchecked(0, mIndexCount, mIndexData); if (uploadToBufferObject) { Loading