diff options
author | Harvey Harrison <[email protected]> | 2013-01-27 10:13:05 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-01-27 10:13:05 -0800 |
commit | fa3ab3fdb8a7daf60a9b757bc67cf7f6cee28163 (patch) | |
tree | 1df2411e463bc8f2b48ccce2b5492677c3adefac | |
parent | 9bcded68c764c912c0df40bed881cfee6c948aea (diff) |
j3dcore: remove an unused member variable from TextureBin
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/javax/media/j3d/TextureBin.java | 7 |
1 files changed, 0 insertions, 7 deletions
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<Transform3D[], RenderMolecule> 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<Transform3D[], RenderMolecule> 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<Transform3D[], RenderMolecule> 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<Transform3D[], RenderMolecule> 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) { |