summaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-02-21 21:50:28 -0800
committerHarvey Harrison <[email protected]>2013-02-21 21:50:28 -0800
commit9170d869f26b23535c3737903294230e760784d5 (patch)
treef32f76769a934befbb5ba463b46d6bd6ff74f94c /src/classes/share
parent8f478f96283addd6e1cd875f8990046a8bd72cae (diff)
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 <[email protected]>
Diffstat (limited to 'src/classes/share')
-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);