How can I get the bit depth of the current display with NEWT?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How can I get the bit depth of the current display with NEWT?

gouessej
Administrator
Hi

I would like to get the current bit depth of a display before creating a GLWindow. I have looked at ScreenMode, Screen and Display but I cannot get this information from them whereas ScreenModeUtil allows to filter ScreenMode instances. How can I solve this problem?
Julien Gouesse | Personal blog | Website