aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.