summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
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 561b58f9..6ab22404 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -506,6 +506,10 @@ void RS::throwError(RSError error, const char *errMsg) {
}
}
+RSError RS::getError() {
+ return mCurrentError;
+}
+
void * RS::threadProc(void *vrsc) {
RS *rs = static_cast<RS *>(vrsc);