Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Fix RS samples to prepare for 64-bit compilation.
Browse files Browse the repository at this point in the history
Bug: 16031597
Change-Id: I8f79773e4d5219d3c8dc4696176cd42f8236c87b
(cherry picked from commit d8295c9)
  • Loading branch information
stephenhines committed Aug 22, 2014
1 parent 7ec230e commit 73ae6d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -62,7 +62,7 @@ private void createScript() {
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);
Expand Down
Expand Up @@ -176,7 +176,7 @@ protected void onCreate(Bundle savedInstanceState) {
Allocation.USAGE_IO_OUTPUT);
mDisplayView.setSurfaceTextureListener(this);

mScript = new ScriptC_levels(mRS, getResources(), R.raw.levels);
mScript = new ScriptC_levels(mRS);
mScript.set_gamma(mGamma);

setSaturation();
Expand Down

0 comments on commit 73ae6d9

Please sign in to comment.