summaryrefslogtreecommitdiff
path: root/libs/rs/rsScript.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-08-18 15:51:36 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-08-18 15:51:36 -0700
commit062292b9804827258388ad972fa1159e6f92c46f (patch)
treee8aefa7147c5429543c3e47ea2a7fc567e897bf3 /libs/rs/rsScript.cpp
parent6c317acc9f1d43cd5d75e3b766c5431cf2a354d8 (diff)
parent7ce033d797e5df5e2131e2ed459fba181eaf4658 (diff)
Merge change 21776 into eclair
* changes: 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.cpp6
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);