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/rsScript.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/rsScript.cpp')
-rw-r--r-- | libs/rs/rsScript.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index 6bcb8f23264a..fde31a1b90cc 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -37,12 +37,6 @@ namespace android { namespace renderscript { -void rsi_ScriptDestroy(Context * rsc, RsScript vs) -{ - Script *s = static_cast<Script *>(vs); - s->decRef(); -} - void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { Script *s = static_cast<Script *>(vs); |