diff options
Diffstat (limited to 'libs/rs/rsElement.cpp')
-rw-r--r-- | libs/rs/rsElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp index 3b18c985bc55..8fbf004685c9 100644 --- a/libs/rs/rsElement.cpp +++ b/libs/rs/rsElement.cpp @@ -109,8 +109,8 @@ void Element::serialize(OStream *stream) const Element *Element::createFromStream(Context *rsc, IStream *stream) { // First make sure we are reading the correct object - A3DClassID classID = (A3DClassID)stream->loadU32(); - if(classID != A3D_CLASS_ID_ELEMENT) { + RsA3DClassID classID = (RsA3DClassID)stream->loadU32(); + if(classID != RS_A3D_CLASS_ID_ELEMENT) { LOGE("element loading skipped due to invalid class id\n"); return NULL; } |