From c32b99404b3ec350bc0b612a52fac272e71cb9e8 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Mon, 2 May 2011 18:06:48 -0700 Subject: Clean up use of rsSetObject/rsClearObject. Change-Id: I8d8e198135d680a1cab7fde64407dec8030bd6a6 --- .../ImageProcessing/src/com/android/rs/image/threshold.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/RenderScriptTests/ImageProcessing') 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++) { -- cgit v1.2.3-59-g8ed1b