* Partial fix for issue 532 and issue 533

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9702 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
ShA..Rd 13 years ago
parent 9e60eda71a
commit 96c4b31e0f
  1. 12
      engine/src/lwjgl/com/jme3/system/lwjgl/LwjglCanvas.java
  2. 6
      engine/src/lwjgl/com/jme3/system/lwjgl/LwjglDisplay.java

@ -304,7 +304,11 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex
0, 0,
settings.getDepthBits(), settings.getDepthBits(),
settings.getStencilBits(), settings.getStencilBits(),
0); 0, // samples
0,
0,
0,
settings.useStereo3D());
} }
return pbufferFormat; return pbufferFormat;
}else{ }else{
@ -314,7 +318,11 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex
0, 0,
settings.getDepthBits(), settings.getDepthBits(),
settings.getStencilBits(), settings.getStencilBits(),
samples); samples,
0,
0,
0,
settings.useStereo3D());
} }
return canvasFormat; return canvasFormat;
} }

@ -87,7 +87,11 @@ public class LwjglDisplay extends LwjglAbstractDisplay {
0, 0,
settings.getDepthBits(), settings.getDepthBits(),
settings.getStencilBits(), settings.getStencilBits(),
samples); samples,
0,
0,
0,
settings.useStereo3D());
frameRate = settings.getFrameRate(); frameRate = settings.getFrameRate();
logger.log(Level.INFO, "Selected display mode: {0}", displayMode); logger.log(Level.INFO, "Selected display mode: {0}", displayMode);

Loading…
Cancel
Save