On 11/03/2012 12:27 AM, gouessej [via jogamp] wrote:
> Hi
>
> Is there an equivalent of java.awt.DisplayMode.getBitDepth() in NEWT? I
> haven't found it in ScreenMode but it should be somewhere as it is possible to
> pass this info in ScreenModeUtil.
Yup.
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/javax/media/nativewindow/util/SurfaceSize.html#getBitsPerPixel%28%29.. it may not be impl. on all platforms, so we use the usual default of 32 bits.
~Sven