diff options
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/universe/SimpleUniverse.java | 4 | ||||
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/universe/Viewer.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/universe/SimpleUniverse.java b/src/classes/share/com/sun/j3d/utils/universe/SimpleUniverse.java index 02c44ff..9698002 100644 --- a/src/classes/share/com/sun/j3d/utils/universe/SimpleUniverse.java +++ b/src/classes/share/com/sun/j3d/utils/universe/SimpleUniverse.java @@ -419,9 +419,9 @@ public class SimpleUniverse extends VirtualUniverse { // update template based on properties. if (stereo != null) { if (stereo.equals("REQUIRED")) - template.setStereo(template.REQUIRED); + template.setStereo(GraphicsConfigTemplate3D.REQUIRED); else if (stereo.equals("PREFERRED")) - template.setStereo(template.PREFERRED); + template.setStereo(GraphicsConfigTemplate3D.PREFERRED); } // Return the GraphicsConfiguration that best fits our needs. diff --git a/src/classes/share/com/sun/j3d/utils/universe/Viewer.java b/src/classes/share/com/sun/j3d/utils/universe/Viewer.java index 6767cf6..ac7d1bc 100644 --- a/src/classes/share/com/sun/j3d/utils/universe/Viewer.java +++ b/src/classes/share/com/sun/j3d/utils/universe/Viewer.java @@ -373,10 +373,10 @@ public class Viewer { // Create a graphics template requesting the desired capabilities. GraphicsConfigTemplate3D tpl3D = new GraphicsConfigTemplate3D(); if (cv.stereoEnable) { - tpl3D.setStereo(tpl3D.PREFERRED); + tpl3D.setStereo(GraphicsConfigTemplate3D.PREFERRED); } if (cv.antialiasingEnable) { - tpl3D.setSceneAntialiasing(tpl3D.PREFERRED); + tpl3D.setSceneAntialiasing(GraphicsConfigTemplate3D.PREFERRED); } // Loop through all screens. Set up the Swing component structure and |