diff options
author | 2010-06-04 10:06:50 -0700 | |
---|---|---|
committer | 2010-06-04 10:06:50 -0700 | |
commit | aae74ad6144470c66e72b075ac3afeddb186fa98 (patch) | |
tree | b8dbb72f6fd23eef520f4330288e9113f0d2036e /libs/rs/rsAllocation.cpp | |
parent | e407a608b0e2c7aad5cd6321426ec85d35f3bafa (diff) |
Creating the jni and java layer to integrate a3d
Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r-- | libs/rs/rsAllocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp index 4db6a044a6cb..289cb307386b 100644 --- a/libs/rs/rsAllocation.cpp +++ b/libs/rs/rsAllocation.cpp @@ -348,8 +348,8 @@ void Allocation::serialize(OStream *stream) const Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { // First make sure we are reading the correct object - A3DClassID classID = (A3DClassID)stream->loadU32(); - if(classID != A3D_CLASS_ID_ALLOCATION) { + RsA3DClassID classID = (RsA3DClassID)stream->loadU32(); + if(classID != RS_A3D_CLASS_ID_ALLOCATION) { LOGE("allocation loading skipped due to invalid class id\n"); return NULL; } |