diff options
Diffstat (limited to 'graphics/java/android/renderscript/SimpleMesh.java')
-rw-r--r-- | graphics/java/android/renderscript/SimpleMesh.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/graphics/java/android/renderscript/SimpleMesh.java b/graphics/java/android/renderscript/SimpleMesh.java index 484849b..d80551e 100644 --- a/graphics/java/android/renderscript/SimpleMesh.java +++ b/graphics/java/android/renderscript/SimpleMesh.java @@ -34,14 +34,6 @@ public class SimpleMesh extends BaseObj { mID = id; } - public void destroy() { - if(mDestroyed) { - throw new IllegalStateException("Object already destroyed."); - } - mDestroyed = true; - mRS.nSimpleMeshDestroy(mID); - } - public void bindVertexAllocation(Allocation a, int slot) { mRS.nSimpleMeshBindVertex(mID, a.mID, slot); } |