aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2005-02-15 00:02:11 +0000
committerChien Yang <[email protected]>2005-02-15 00:02:11 +0000
commit8fb2f4e717db43335c271a61116004a85f846f46 (patch)
tree36a3fcb874d60af902719c46f00b2b4eba322788
parenta606b2163bba30d9ab9ce3bc6ca08b1f7dd18f2d (diff)
Undo a change that will break win32-d3d build.
Added extra comment. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@121 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r--src/classes/share/javax/media/j3d/Canvas3D.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java
index 9a78a21..1578fd3 100644
--- a/src/classes/share/javax/media/j3d/Canvas3D.java
+++ b/src/classes/share/javax/media/j3d/Canvas3D.java
@@ -1132,9 +1132,8 @@ public class Canvas3D extends Canvas {
this.offScreen = offScreen;
this.graphicsConfiguration = graphicsConfiguration;
- // Needed for Win32 only.
- // Fix to issue 97 -- We will stop using vid. Need to cleanup code.
- vid = 0;
+ // Needed for Win32-D3D only.
+ vid = nativeWSobj.getCanvasVid(graphicsConfiguration);
// Fix for issue 20.
// Needed for Linux and Solaris.