Fix RS samples to prepare for 64-bit compilation.

Bug: 16031597
Change-Id: I8f79773e4d5219d3c8dc4696176cd42f8236c87b
(cherry picked from commit d8295c9e49)
This commit is contained in:
Stephen Hines
2014-08-15 02:18:22 -07:00
parent 7ec230eaf2
commit 73ae6d9f02
2 changed files with 2 additions and 2 deletions

View File

@@ -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);