DesktopDepth()

Archives Forums/BlitzMax Bug Reports/DesktopDepth()

Hujiklo(Posted 2010) [#1]
DrawText "DEPTH : " + DesktopDepth(), 10, 10

Leave this running and it starts returning zero on and off between the actual bit depth...and then the Graphics start to loose the plot in conjunction with further resolution changes.

I'm actually using minib3d - textures get corrupt, and eventually a few more resolution changes and the screen\window goes black.

Either way - resolution changes or not DesktopDepth() seems to go wonky after 20-30 seconds or so.

All works well without the above line of code. Not drastic - but annoying whilst trying to accurately test my options screen.


marksibly(Posted 2010) [#2]
Hi,

Please post some runnable sample code.