Add support for debug and profile context.
Change-Id: If67bc23b457d50ced7bfa5ac21a63d14de8193b9
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index 98ab380..886e1d4 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -65,7 +65,7 @@
return false;
}
- mContext = rsContextCreate(mDev, 0, targetApi, forceCpu, synchronous);
+ mContext = rsContextCreate(mDev, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, forceCpu, synchronous);
if (mContext == 0) {
ALOGE("Context creation failed");
return false;