diff options
author | Jason Sams <rjsams@android.com> | 2009-08-18 14:14:24 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-08-18 14:20:07 -0700 |
commit | 7ce033d797e5df5e2131e2ed459fba181eaf4658 (patch) | |
tree | c4bf9fd7d74260b800b75786a2adbca04d2f71be /libs/rs/rsProgramFragmentStore.cpp | |
parent | 48134b78d53eca2a0a71799b0901aba5997f2eba (diff) |
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
Diffstat (limited to 'libs/rs/rsProgramFragmentStore.cpp')
-rw-r--r-- | libs/rs/rsProgramFragmentStore.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/rs/rsProgramFragmentStore.cpp b/libs/rs/rsProgramFragmentStore.cpp index 27f401532886..99eed16fd457 100644 --- a/libs/rs/rsProgramFragmentStore.cpp +++ b/libs/rs/rsProgramFragmentStore.cpp @@ -261,17 +261,6 @@ void rsi_ProgramFragmentStoreDither(Context *rsc, bool enable) rsc->mStateFragmentStore.mPFS->setDitherEnable(enable); } -void rsi_ProgramFragmentStoreDestroy(Context *rsc, RsProgramFragmentStore vpfs) -{ - ProgramFragmentStore *pfs = (ProgramFragmentStore *)vpfs; - if (pfs->getName()) { - rsc->removeName(pfs); - } - pfs->decRef(); -} - - - } } |