* 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
This commit is contained in:
parent
db0a4f23a8
commit
f6f378ec55
@ -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…
x
Reference in New Issue
Block a user