diff options
author | Miao Wang <miaowang@google.com> | 2015-09-14 15:05:41 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2015-09-15 10:17:13 -0700 |
commit | 70d8995254ee38173129e4ae4c9372f43716eb4e (patch) | |
tree | 6879d044f5ec5066e107cd9e90f17cf8c12de6f3 /cpp/Element.cpp | |
parent | ffa1b8b069ac89d56652974c6a67e366327955cd (diff) | |
download | rs-70d8995254ee38173129e4ae4c9372f43716eb4e.tar.gz |
Fix updateFromNative in C++ API.
Change-Id: I2b1cce8ab964e9ddd6b039fd8d7b8f8bf5f0eed1
Diffstat (limited to 'cpp/Element.cpp')
-rw-r--r-- | cpp/Element.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/Element.cpp b/cpp/Element.cpp index cfbc3854..402306ef 100644 --- a/cpp/Element.cpp +++ b/cpp/Element.cpp @@ -212,6 +212,9 @@ Element::Element(void *id, android::RSC::sp<RS> rs, updateVisibleSubElements(); } +Element::Element(void *id, android::RSC::sp<RS> rs) : + BaseObj(id, rs) { +} static uint32_t GetSizeInBytesForType(RsDataType dt) { switch(dt) { |