diff options
author | Harvey Harrison <[email protected]> | 2013-01-27 10:12:09 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-01-27 10:12:09 -0800 |
commit | 9bcded68c764c912c0df40bed881cfee6c948aea (patch) | |
tree | 9c0692dc1e16ea74292184f133692c78b342e8aa /src/classes/share | |
parent | 6c4e379723b878e3cec5f9d1da269554f5815015 (diff) |
j3dcore: remove unused local variable from TextureBin
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/TextureBin.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/classes/share/javax/media/j3d/TextureBin.java b/src/classes/share/javax/media/j3d/TextureBin.java index ef1ff25..88ae82e 100644 --- a/src/classes/share/javax/media/j3d/TextureBin.java +++ b/src/classes/share/javax/media/j3d/TextureBin.java @@ -200,7 +200,7 @@ HashMap<Transform3D[], RenderMolecule> transparentRenderMoleculeMap = new HashMa void resetTextureState(TextureUnitStateRetained[] state) { - int i, j; + int i; boolean foundDisableUnit = false; numActiveTexUnit = 0; lastActiveTexUnitIndex = 0; @@ -448,10 +448,6 @@ HashMap<Transform3D[], RenderMolecule> transparentRenderMoleculeMap = new HashMa * This tests if the qiven textureUnitState matches this TextureBin */ boolean equals(TextureUnitStateRetained state[], RenderAtom ra) { - - int i, j, k = 0; - TextureRetained texture; - // if this TextureBin is a soleUser case or the incoming // app has changedFrequent bit set for any of the texture // related component, then either the current TextureBin @@ -500,7 +496,7 @@ HashMap<Transform3D[], RenderMolecule> transparentRenderMoleculeMap = new HashMa if (state.length != texUnitState.length) return (false); - for (i = 0; i < texUnitState.length; i++) { + for (int i = 0; i < texUnitState.length; i++) { // If texture Unit State is null if (texUnitState[i] == null) { if (state[i] != null) @@ -1288,8 +1284,6 @@ void render(Canvas3D cv, TransparentRenderingInfo rlist) { void changeLists(RenderMolecule r) { RenderMolecule renderMoleculeList, rmlist = null, head; HashMap<Transform3D[], RenderMolecule> allMap = null; - ArrayList list; - int index; boolean newRM = false; // System.err.println("changeLists r = "+r+" tBin = "+this); // If its a new RM then do nothing, otherwise move lists |