Fix RS samples to prepare for 64-bit compilation.
Bug: 16031597
Change-Id: I8f79773e4d5219d3c8dc4696176cd42f8236c87b
(cherry picked from commit d8295c9e49)
This commit is contained in:
@@ -62,7 +62,7 @@ public class HelloCompute extends Activity {
|
||||
Allocation.MipmapControl.MIPMAP_NONE,
|
||||
Allocation.USAGE_SCRIPT);
|
||||
|
||||
mScript = new ScriptC_mono(mRS, getResources(), R.raw.mono);
|
||||
mScript = new ScriptC_mono(mRS);
|
||||
|
||||
mScript.forEach_root(mInAllocation, mOutAllocation);
|
||||
mOutAllocation.copyTo(mBitmapOut);
|
||||
|
||||
Reference in New Issue
Block a user