Display.getPixelFormat()

Started by darkprophet, December 23, 2007, 14:48:59

Previous topic - Next topic

darkprophet

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 :)