Loading rs/java/android/renderscript/AllocationAdapter.java +13 −11 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ public class AllocationAdapter extends Allocation { private void updateOffsets() { int a1 = 0, a2 = 0, a3 = 0, a4 = 0; if (mSelectedArray != null) { if (mSelectedArray.length > 0) { a1 = mSelectedArray[0]; } Loading @@ -84,6 +85,7 @@ public class AllocationAdapter extends Allocation { if (mSelectedArray.length > 3) { a4 = mSelectedArray[3]; } } mRS.nAllocationAdapterOffset(getID(mRS), mSelectedX, mSelectedY, mSelectedZ, mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); Loading Loading
rs/java/android/renderscript/AllocationAdapter.java +13 −11 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ public class AllocationAdapter extends Allocation { private void updateOffsets() { int a1 = 0, a2 = 0, a3 = 0, a4 = 0; if (mSelectedArray != null) { if (mSelectedArray.length > 0) { a1 = mSelectedArray[0]; } Loading @@ -84,6 +85,7 @@ public class AllocationAdapter extends Allocation { if (mSelectedArray.length > 3) { a4 = mSelectedArray[3]; } } mRS.nAllocationAdapterOffset(getID(mRS), mSelectedX, mSelectedY, mSelectedZ, mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4); Loading