diff options
| author | Stephen Hines <srhines@google.com> | 2010-10-11 10:54:21 -0700 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2010-10-11 12:32:33 -0700 |
| commit | 031ec58cfc7a20927302a5300eba3f5fc1709b50 (patch) | |
| tree | 4a5719c7c6c89b66d8a304d0df333810b2a2aa3f /libs/rs/rsScript.cpp | |
| parent | c2a443250768086a609c5666f23d93316d84252c (diff) | |
| download | frameworks_base-031ec58cfc7a20927302a5300eba3f5fc1709b50.zip frameworks_base-031ec58cfc7a20927302a5300eba3f5fc1709b50.tar.gz frameworks_base-031ec58cfc7a20927302a5300eba3f5fc1709b50.tar.bz2 | |
Fix support for 64-bit integers.
Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
Diffstat (limited to 'libs/rs/rsScript.cpp')
| -rw-r--r-- | libs/rs/rsScript.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index c2f9689..c5632b5 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -115,6 +115,12 @@ void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) s->setVar(slot, &value, sizeof(value)); } +void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) +{ + Script *s = static_cast<Script *>(vs); + s->setVar(slot, &value, sizeof(value)); +} + void rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) { Script *s = static_cast<Script *>(vs); |
