summaryrefslogtreecommitdiff
path: root/rsScript.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2015-04-13 20:11:48 -0700
committerStephen Hines <srhines@google.com>2015-04-14 18:47:04 -0700
commit5d95a78ab5758c2625949d78bb67eb3c5d9701cc (patch)
tree6e2615956979ef90f7dd6d2a8f23c941afc0ed97 /rsScript.cpp
parent893754fc6016d6c144788ec94a7db55d1061ef18 (diff)
downloadrs-5d95a78ab5758c2625949d78bb67eb3c5d9701cc.tar.gz
Fix issue with older structure sizes
When structures are enlarged in RS we need to use the script API number to properly handle the older cases. Bug: 19734267 Change-Id: I0ffd3dc4cea1640f2b14c588df3a93eee749e74e
Diffstat (limited to 'rsScript.cpp')
-rw-r--r--rsScript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsScript.cpp b/rsScript.cpp
index cb611afc..7ea9857b 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -28,6 +28,7 @@ Script::Script(Context *rsc) : ObjectBase(rsc) {
mTypes = nullptr;
mInitialized = false;
mHasObjectSlots = false;
+ mApiLevel = 0;
}
Script::~Script() {