From f6f378ec55eb5472d150cf9d01e7454c36154e01 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Wed, 17 Aug 2011 03:34:11 +0000 Subject: [PATCH] * Use the same pbuffer pixel format for everything. Provides better compatibility. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"); } }