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 | 707aaf341a4b068e6ccadf923af85acdd85fd775 (patch) | |
tree | 1fb548273a1c4b0bf6d2946497f78372eb5ba8e4 /rsScript.cpp | |
parent | 2275d635bd1d1b716ae22ee7507583e5013d55f4 (diff) | |
download | rs-707aaf341a4b068e6ccadf923af85acdd85fd775.tar.gz |
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 'rsScript.cpp')
-rw-r--r-- | rsScript.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rsScript.cpp b/rsScript.cpp index 6bcb8f23..fde31a1b 100644 --- a/rsScript.cpp +++ b/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); |