diff options
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 66a7421c..a0c5debb 100644 --- a/cpp/RenderScript.cpp +++ b/cpp/RenderScript.cpp @@ -165,8 +165,7 @@ bool RS::init(const char * name, int targetApi, uint32_t flags) { } 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; } |
