diff options
| author | Tim Murray <timmurray@google.com> | 2013-07-17 16:50:10 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2013-07-23 16:48:41 -0700 |
| commit | a423096c0d49e5cfe13a400b4323a76f89c6885c (patch) | |
| tree | 287bb1663043311f450980c7f741cc7ae3fc757a /cpp/ScriptC.cpp | |
| parent | f51f8c741dda633f525a3eeb7552bff5819a75f0 (diff) | |
Move C++ API over to function tables rather than linking libRS directly.
Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
Diffstat (limited to 'cpp/ScriptC.cpp')
| -rw-r--r-- | cpp/ScriptC.cpp | 4 |
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); } |
