summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java b/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
index 18f72aa..06c8473 100644
--- a/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
+++ b/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
@@ -214,13 +214,12 @@ public class JCanvas3D extends JPanel implements AncestorListener {
this.template.setDepthSize(template.getDepthSize());
this.template.setSceneAntialiasing(template.getSceneAntialiasing());
this.template.setStencilSize(template.getStencilSize());
-// this.template.setDoubleBuffer(template.getDoubleBuffer());
+ this.template.setDoubleBuffer(template.getDoubleBuffer());
// this.template.setStereo(template.getStereo());
}
// Force double-buffer and stereo to UNNECESSARY
this.template.setStereo(GraphicsConfigTemplate.UNNECESSARY);
- this.template.setDoubleBuffer(GraphicsConfigTemplate.UNNECESSARY);
graphicsConfig = this.device.getBestConfiguration(this.template);