diff options
| author | Stephen Hines <srhines@google.com> | 2016-01-30 17:44:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-01-30 17:44:32 +0000 |
| commit | 672dd1d7021ce09a3045d1316d80ac2f42edc72a (patch) | |
| tree | 7c02a3e929376da181451576ee7550b2e7a92863 /cpp/RenderScript.cpp | |
| parent | 886e5a2f3670b31bcf02526343d364b86b3a2305 (diff) | |
| parent | 15c1d06c654c246b8e8047f64f781add32483576 (diff) | |
Merge "Derive the bcc optimization level from the input bitcode."
Diffstat (limited to 'cpp/RenderScript.cpp')
| -rw-r--r-- | cpp/RenderScript.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp index ecc76c86..31414f4b 100644 --- a/cpp/RenderScript.cpp +++ b/cpp/RenderScript.cpp @@ -171,8 +171,7 @@ bool RS::init(const char * name, uint32_t flags, int targetApi) { } if (flags & ~(RS_CONTEXT_SYNCHRONOUS | RS_CONTEXT_LOW_LATENCY | - RS_CONTEXT_LOW_POWER | RS_CONTEXT_WAIT_FOR_ATTACH | - RS_CONTEXT_OPT_LEVEL_0)) { + RS_CONTEXT_LOW_POWER | RS_CONTEXT_WAIT_FOR_ATTACH)) { ALOGE("Invalid flags passed"); return false; } |
