summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-11-18 18:03:04 -0800
committerHarvey Harrison <[email protected]>2012-11-18 18:03:04 -0800
commit301ab2819f4b9ee0374ab3c33da2ab16f0b47eee (patch)
tree631f292d2b84e3a45730f3f2465de58e43637449
parenta7b8a14d11c8c44b5faede0e7826058803cd5f9d (diff)
j3dcore: remove more D3D leftovers in Canvas3D
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/Canvas3D.java11
-rw-r--r--src/classes/share/javax/media/j3d/TextureBin.java3
2 files changed, 0 insertions, 14 deletions
diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java
index e709c2a..9b9a467 100644
--- a/src/classes/share/javax/media/j3d/Canvas3D.java
+++ b/src/classes/share/javax/media/j3d/Canvas3D.java
@@ -703,16 +703,6 @@ public class Canvas3D extends Canvas {
Object appHandle = null;
/**
- * Set to true when any one of texture state use
- * Texture Generation linear mode. This is used for D3D
- * temporary turn displayList off and do its own coordinate
- * generation since D3D don't support it.
- *
- * TODO aces : is this still true in DX9?
- */
- boolean texLinearMode = false;
-
- /**
* Dirty bit to determine if the NodeComponent needs to be re-sent
* down to the underlying API
*/
@@ -3889,7 +3879,6 @@ void resetRendering() {
modelMatrix = null;
modelClip = null;
fog = null;
- texLinearMode = false;
sceneAmbient = new Color3f();
diff --git a/src/classes/share/javax/media/j3d/TextureBin.java b/src/classes/share/javax/media/j3d/TextureBin.java
index 36fa8ef..8e0f253 100644
--- a/src/classes/share/javax/media/j3d/TextureBin.java
+++ b/src/classes/share/javax/media/j3d/TextureBin.java
@@ -1231,9 +1231,6 @@ class TextureBin extends Object implements ObjectUpdate {
}
void render(Canvas3D cv, Object rlist) {
-
- cv.texLinearMode = false;
-
/*
System.err.println("TextureBin/render " + this +
" numActiveTexUnit= " + numActiveTexUnit +