LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: darkprophet on December 23, 2007, 14:48:59

Title: Display.getPixelFormat()
Post by: darkprophet on December 23, 2007, 14:48:59
Hi,
I am wondering if it is possible to add a getPixelFormat() method to Display? This is required so that I can create a Pbuffer in the background with the same pixelformat as the display created by the user.

Im not sure about the implications of storing the pixelformat, but it seems rather straightforward to set
a private field from create(PixelFormat, Drawable)...

DP :)