summaryrefslogtreecommitdiff
path: root/cpp/ScriptC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/ScriptC.cpp')
-rw-r--r--cpp/ScriptC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/ScriptC.cpp b/cpp/ScriptC.cpp
index f66e0ec2..30aa3808 100644
--- a/cpp/ScriptC.cpp
+++ b/cpp/ScriptC.cpp
@@ -27,7 +27,7 @@ ScriptC::ScriptC(sp<RS> rs,
const char *cachedName, size_t cachedNameLength,
const char *cacheDir, size_t cacheDirLength)
: Script(NULL, rs) {
- mID = rsScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
- cacheDir, cacheDirLength, (const char *)codeTxt, codeLength);
+ mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
+ cacheDir, cacheDirLength, (const char *)codeTxt, codeLength);
}