summaryrefslogtreecommitdiff
path: root/libs/rs/rsLight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsLight.cpp')
-rw-r--r--libs/rs/rsLight.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/rs/rsLight.cpp b/libs/rs/rsLight.cpp
index 24b58b622ac6..f780e52e59c0 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<Light *>(vl);
- l->decRef();
-}
-
void rsi_LightSetColor(Context *rsc, RsLight vl, float r, float g, float b)
{
Light *l = static_cast<Light *>(vl);