* 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
3.0
sha..rd 13 years ago
parent db0a4f23a8
commit f6f378ec55
  1. 3
      engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java

@ -269,8 +269,7 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex
pbuffer.destroy(); pbuffer.destroy();
} }
// Let the implementation choose an appropriate pixel format. // 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"); logger.log(Level.INFO, "OGL: Pbuffer has been created");
} }
} }

Loading…
Cancel
Save