diff options
| author | 2011-05-02 18:06:48 -0700 | |
|---|---|---|
| committer | 2011-05-02 18:06:48 -0700 | |
| commit | c32b99404b3ec350bc0b612a52fac272e71cb9e8 (patch) | |
| tree | 4b84948c00bfd150ab2ea23f95e2b9f62fb6495b /tests/RenderScriptTests/ImageProcessing | |
| parent | 7fba67e63096f87d16f8c171b3b830e4d79aac40 (diff) | |
Clean up use of rsSetObject/rsClearObject.
Change-Id: I8d8e198135d680a1cab7fde64407dec8030bd6a6
Diffstat (limited to 'tests/RenderScriptTests/ImageProcessing')
| -rw-r--r-- | tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs index f2f9a361fa90..16ebe08a11c7 100644 --- a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs +++ b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs @@ -63,7 +63,7 @@ static void computeGaussianWeights() { static void copyInput() { rs_allocation ain; - rsSetObject(&ain,rsGetAllocation(InPixel)); + ain = rsGetAllocation(InPixel); uint32_t dimx = rsAllocationGetDimX(ain); uint32_t dimy = rsAllocationGetDimY(ain); for (uint32_t y = 0; y < dimy; y++) { |