From 7ce033d797e5df5e2131e2ed459fba181eaf4658 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 18 Aug 2009 14:14:24 -0700 Subject: 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. --- libs/rs/rsLight.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libs/rs/rsLight.cpp') diff --git a/libs/rs/rsLight.cpp b/libs/rs/rsLight.cpp index 24b58b6..f780e52 100644 --- a/libs/rs/rsLight.cpp +++ b/libs/rs/rsLight.cpp @@ -82,7 +82,7 @@ void LightState::clear() //////////////////////////////////////////////////// -// +// namespace android { namespace renderscript { @@ -110,12 +110,6 @@ RsLight rsi_LightCreate(Context *rsc) return l; } -void rsi_LightDestroy(Context *rsc, RsLight vl) -{ - Light *l = static_cast(vl); - l->decRef(); -} - void rsi_LightSetColor(Context *rsc, RsLight vl, float r, float g, float b) { Light *l = static_cast(vl); -- cgit v1.1