diff options
| author | Jason Sams <jsams@google.com> | 2012-07-24 18:10:20 -0700 |
|---|---|---|
| committer | Jason Sams <jsams@google.com> | 2012-07-24 18:10:20 -0700 |
| commit | e3150cfb3edb028407669e4a65e087eae77e718c (patch) | |
| tree | 2c722d95d30d534bdeef11958a4a50d33b3c3e7f /rsFileA3D.cpp | |
| parent | cd1e8c8d88330f02aec7092ab5bff8e4aa51f508 (diff) | |
| download | android_frameworks_rs-e3150cfb3edb028407669e4a65e087eae77e718c.tar.gz android_frameworks_rs-e3150cfb3edb028407669e4a65e087eae77e718c.tar.bz2 android_frameworks_rs-e3150cfb3edb028407669e4a65e087eae77e718c.zip | |
Plumb context through for serialization.
Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
Diffstat (limited to 'rsFileA3D.cpp')
| -rw-r--r-- | rsFileA3D.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsFileA3D.cpp b/rsFileA3D.cpp index a52bf7ef..07c413f3 100644 --- a/rsFileA3D.cpp +++ b/rsFileA3D.cpp @@ -352,7 +352,7 @@ bool FileA3D::writeFile(const char *filename) { return true; } -void FileA3D::appendToFile(ObjectBase *obj) { +void FileA3D::appendToFile(Context *con, ObjectBase *obj) { if (!obj) { return; } @@ -366,7 +366,7 @@ void FileA3D::appendToFile(ObjectBase *obj) { indexEntry->mOffset = mWriteStream->getPos(); indexEntry->mRsObj = obj; mWriteIndex.push(indexEntry); - obj->serialize(mWriteStream); + obj->serialize(con, mWriteStream); indexEntry->mLength = mWriteStream->getPos() - indexEntry->mOffset; mWriteStream->align(4); } |
