I am trying to open a screen in 16-bit color with dithering switched on, and am using custom OpenGL to set up the display etc.
In 16-bit mode, I get this error:
As I say it works fine with 32-bit mode.
I also wrote a quick prog to print the availble modes, the output is shown below. I find it odd that a) the hertz shows as 0 (because it's LCD?) and b) there is more than one mode at a given resolution that seems to be identical. Why? (because they are different hertz but it just doesn't tell you)?
More importantly, why the error in 16-bit?
[edit] It works fine in window mode, not fullscreen.
In 16-bit mode, I get this error:
Compile Error: 2006-04-23 11:45:44.021 Game[558] invalid drawable
As I say it works fine with 32-bit mode.
I also wrote a quick prog to print the availble modes, the output is shown below. I find it odd that a) the hertz shows as 0 (because it's LCD?) and b) there is more than one mode at a given resolution that seems to be identical. Why? (because they are different hertz but it just doesn't tell you)?
More importantly, why the error in 16-bit?
[edit] It works fine in window mode, not fullscreen.
mode: 0 wid: 1440 hig: 900 depth: 16 htz: 0 avail?: yes mode: 1 wid: 1440 hig: 900 depth: 32 htz: 0 avail?: yes mode: 2 wid: 1152 hig: 720 depth: 16 htz: 0 avail?: yes mode: 3 wid: 1152 hig: 720 depth: 32 htz: 0 avail?: yes mode: 4 wid: 1024 hig: 768 depth: 16 htz: 0 avail?: yes mode: 5 wid: 1024 hig: 768 depth: 32 htz: 0 avail?: yes mode: 6 wid: 1024 hig: 768 depth: 16 htz: 0 avail?: yes mode: 7 wid: 1024 hig: 768 depth: 32 htz: 0 avail?: yes mode: 8 wid: 1024 hig: 640 depth: 16 htz: 0 avail?: yes mode: 9 wid: 1024 hig: 640 depth: 32 htz: 0 avail?: yes mode: 10 wid: 800 hig: 600 depth: 16 htz: 0 avail?: yes mode: 11 wid: 800 hig: 600 depth: 32 htz: 0 avail?: yes mode: 12 wid: 800 hig: 600 depth: 16 htz: 0 avail?: yes mode: 13 wid: 800 hig: 600 depth: 32 htz: 0 avail?: yes mode: 14 wid: 800 hig: 500 depth: 16 htz: 0 avail?: yes mode: 15 wid: 800 hig: 500 depth: 32 htz: 0 avail?: yes mode: 16 wid: 640 hig: 480 depth: 16 htz: 0 avail?: yes mode: 17 wid: 640 hig: 480 depth: 32 htz: 0 avail?: yes mode: 18 wid: 640 hig: 480 depth: 16 htz: 0 avail?: yes mode: 19 wid: 640 hig: 480 depth: 32 htz: 0 avail?: yes