summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/RenderScript.cpp')
-rw-r--r--cpp/RenderScript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index e2c8bc09..c7204e30 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -432,6 +432,7 @@ bool RS::initDispatch(int targetApi) {
if (gInitError) {
goto error;
} else if (gInitialized) {
+ pthread_mutex_unlock(&gInitMutex);
return true;
}