From 96c4b31e0fe118143fac72a56d9d474f2aad2d7f Mon Sep 17 00:00:00 2001 From: "ShA..Rd" Date: Wed, 5 Sep 2012 20:39:14 +0000 Subject: [PATCH] * Partial fix for issue 532 and issue 533 git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9702 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java | 12 ++++++++++-- .../lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java | 6 +++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java index 02e68eec0..54e828b7f 100644 --- a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java +++ b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java @@ -304,7 +304,11 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex 0, settings.getDepthBits(), settings.getStencilBits(), - 0); + 0, // samples + 0, + 0, + 0, + settings.useStereo3D()); } return pbufferFormat; }else{ @@ -314,7 +318,11 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex 0, settings.getDepthBits(), settings.getStencilBits(), - samples); + samples, + 0, + 0, + 0, + settings.useStereo3D()); } return canvasFormat; } diff --git a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java index 8904ff8e5..adcb3a2f6 100644 --- a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java +++ b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java @@ -87,7 +87,11 @@ public class LwjglDisplay extends LwjglAbstractDisplay { 0, settings.getDepthBits(), settings.getStencilBits(), - samples); + samples, + 0, + 0, + 0, + settings.useStereo3D()); frameRate = settings.getFrameRate(); logger.log(Level.INFO, "Selected display mode: {0}", displayMode);