summaryrefslogtreecommitdiff
path: root/libs/rs/rsSimpleMesh.cpp
diff options
context:
space:
mode:
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
commit7ce033d797e5df5e2131e2ed459fba181eaf4658 (patch)
treec4bf9fd7d74260b800b75786a2adbca04d2f71be /libs/rs/rsSimpleMesh.cpp
parent48134b78d53eca2a0a71799b0901aba5997f2eba (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/rsSimpleMesh.cpp')
-rw-r--r--libs/rs/rsSimpleMesh.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/rs/rsSimpleMesh.cpp b/libs/rs/rsSimpleMesh.cpp
index 08e36ac026da..0b745eb384d0 100644
--- a/libs/rs/rsSimpleMesh.cpp
+++ b/libs/rs/rsSimpleMesh.cpp
@@ -135,12 +135,6 @@ void rsi_SimpleMeshBindPrimitive(Context *rsc, RsSimpleMesh mv, RsAllocation va)
sm->mPrimitiveBuffer.set((Allocation *)va);
}
-void rsi_SimpleMeshDestroy(Context *rsc, RsSimpleMesh vtm)
-{
- SimpleMesh * tm = static_cast<SimpleMesh *>(vtm);
- tm->decRef();
-}
-