hello, at the beginning of my game i do this:
GLCapabilities caps = new GLCapabilities();
caps.setDoubleBuffered(true);
caps.setHardwareAccelerated(true);
System.out.println(caps.toString());
now this always outputs:
GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ]
when i set my colordepth from true color(32 Bit) to high color (16Bit) or even (8Bit) this still gives me 8 Bits per color channel, although with high color i would expect something like:
Red: 5, Green: 6, Blue: 5
how can i reliably get the available colordepth? (Bits per channel)