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);