commit | f2649a961db2995e9e24a6c98f8a419f1496c1b7 | [log] [tgz] |
---|---|---|
author | Jason Sams <[email protected]> | Fri Sep 25 16:37:33 2009 -0700 |
committer | Jason Sams <[email protected]> | Fri Sep 25 16:37:33 2009 -0700 |
tree | fcb8a48e8491e95afc367f9ae64214b7fa6c8bae | |
parent | 1fddd90849deaae89b546ff492c345d485bbce42 [diff] [blame] |
Improved object lifecycle tracking and fix leaks.
diff --git a/rsProgramVertex.h b/rsProgramVertex.h index b3a8b8d..e198f23 100644 --- a/rsProgramVertex.h +++ b/rsProgramVertex.h
@@ -59,12 +59,13 @@ ~ProgramVertexState(); void init(Context *rsc, int32_t w, int32_t h); + void deinit(Context *rsc); ObjectBaseRef<ProgramVertex> mDefault; ObjectBaseRef<ProgramVertex> mLast; ObjectBaseRef<Allocation> mDefaultAlloc; - RsType mAllocType; + ObjectBaseRef<Type> mAllocType; ProgramVertex *mPV;