From fa3ab3fdb8a7daf60a9b757bc67cf7f6cee28163 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 27 Jan 2013 10:13:05 -0800 Subject: j3dcore: remove an unused member variable from TextureBin Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/TextureBin.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/classes') diff --git a/src/classes/share/javax/media/j3d/TextureBin.java b/src/classes/share/javax/media/j3d/TextureBin.java index 88ae82e..3a7c64f 100644 --- a/src/classes/share/javax/media/j3d/TextureBin.java +++ b/src/classes/share/javax/media/j3d/TextureBin.java @@ -42,9 +42,6 @@ class TextureBin extends Object implements ObjectUpdate { TextureUnitStateRetained [] texUnitState = null; - // last active texture unit - private int lastActiveTexUnitIndex; - // number of active texture unit private int numActiveTexUnit; @@ -203,7 +200,6 @@ HashMap transparentRenderMoleculeMap = new HashMa int i; boolean foundDisableUnit = false; numActiveTexUnit = 0; - lastActiveTexUnitIndex = 0; boolean soleUser = ((tbFlag & TextureBin.SOLE_USER) != 0); TextureRetained prevFirstTexture = null; TextureRetained tex; @@ -355,7 +351,6 @@ HashMap transparentRenderMoleculeMap = new HashMa // now includes disabled units so that there is always // a one-to-one mapping. We no longer remap texture units. if (texUnitState[i].isTextureEnabled()) { - lastActiveTexUnitIndex = i; numActiveTexUnit = i + 1; if (foundDisableUnit) { @@ -721,7 +716,6 @@ HashMap transparentRenderMoleculeMap = new HashMa boolean foundDisableUnit = false; numActiveTexUnit = 0; - lastActiveTexUnitIndex = 0; tbFlag |= TextureBin.CONTIGUOUS_ACTIVE_UNITS; for (int i = 0; i < texUnitState.length; i++) { @@ -731,7 +725,6 @@ HashMap transparentRenderMoleculeMap = new HashMa // a one-to-one mapping. We no longer remap texture units. if (texUnitState[i] != null && texUnitState[i].isTextureEnabled()) { - lastActiveTexUnitIndex = i; numActiveTexUnit = i + 1; if (foundDisableUnit) { -- cgit v1.2.3