How do I detect if desktop is 256 color?

BlitzMax Forums/BlitzMax Programming/How do I detect if desktop is 256 color?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Didn't Skidracer post a possible solution for Linux in the same thread?

AFAIR, it was GetGraphicsMode(0, w, h, d, r) or did that not work (I don't run Linux and so can't test)?