From 9170d869f26b23535c3737903294230e760784d5 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 21 Feb 2013 21:50:28 -0800 Subject: j3dutils: stop suppressing the DoubleBeuffering flag in JCanvas3D While this should be OK, we currently explicitly check for both antialiasing and doublebuffering in the joglpipeline capabilities which means this will never allow antialiasing to be enabled for JCanvas3D. Signed-off-by: Harvey Harrison --- src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/classes/share') 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); -- cgit v1.2.3