summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2016-01-12 01:52:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-12 01:52:38 +0000
commitc4038f87aa339651ad7abf325c57b4de25138ef6 (patch)
tree6c121344cd315477ab1030fe8bbdea385290f240 /cpp/RenderScript.cpp
parent8ea0a4219a55a84bf41b324a26f18babdd251dc3 (diff)
parentfda559674cb1bd16b885f97951bda775cdc3af5c (diff)
Merge "Add back RS::init(const char*, uint32_t)"
Diffstat (limited to 'cpp/RenderScript.cpp')
-rw-r--r--cpp/RenderScript.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index 5ee30603..ecc76c86 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -75,6 +75,10 @@ RS::~RS() {
}
}
+bool RS::init(const char * name, uint32_t flags) {
+ return RS::init(name, flags, 0);
+}
+
// This will only open API 19+ libRS, because that's when
// we changed libRS to extern "C" entry points.
static bool loadSO(const char* filename, int targetApi) {