Debug RGB weirdness

Blitz3D Forums/Blitz3D Programming/Debug RGB weirdness

Simian(Posted 2003) [#1]
I've noticed that the RGB values picked up by ColorRed(), ColorGreen() and ColorBlue() in debug mode are slightly different to those picked up when running normally. They seem to be more accurate if anything.

Is there a reason for this that I'm missing and more importantly is there something I can do to keep it consistent whether debug is on or not? Ideally keeping it as accurate as debug mode.


Michael Reitzenstein(Posted 2003) [#2]
Does the program run in full screen without debug on and in a window with it on? If your desktop colour depth is 32 and your full screen depth is 16, this will be the problem - windowed graphics modes can only use the desktop colour depth, not the one specified.

32 bit modes will greatly increase the accuracy of the ColorRed( ), ColorGreen( ) and ColorBlue( ) functions.


Simian(Posted 2003) [#3]
That was it. Ta!