diff --git a/engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java b/engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java index 41b6b2fe9..4e22b17b6 100644 --- a/engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java +++ b/engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java @@ -269,8 +269,7 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex pbuffer.destroy(); } // Let the implementation choose an appropriate pixel format. - pbuffer = new Pbuffer(1, 1, new PixelFormat(0, 0, 0, 0, 0), null); - //pbuffer = new Pbuffer(1, 1, acquirePixelFormat(), null); + pbuffer = new Pbuffer(1, 1, acquirePixelFormat(), null); logger.log(Level.INFO, "OGL: Pbuffer has been created"); } }