Merge "We need to specify a target SDK < 21 to use graphics RS."

This commit is contained in:
Stephen Hines
2014-08-22 23:21:45 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ public class ErrorCalculator {
for (int i = 0; i < rowIndices.length; i++)
rowIndices[i] = i * REGION_SIZE;
mScript = new ScriptC_errorCalculator(mRS, resources, R.raw.errorcalculator);
mScript = new ScriptC_errorCalculator(mRS);
mScript.set_HEIGHT(height);
mScript.set_WIDTH(width);
mScript.set_REGION_SIZE(REGION_SIZE);

View File

@@ -25,5 +25,6 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
# LOCAL_SDK_VERSION := current
LOCAL_PACKAGE_NAME := RsFountainFbo
LOCAL_SDK_VERSION := 14
include $(BUILD_PACKAGE)