Graphics commands without Graphics errors

BlitzMax Forums/BlitzMax Bug Reports/Graphics commands without Graphics errors

Before anyone says I know this is common sense:

Using Setcolor or any 2d graphics command before using the graphics commands kills Blitz I get the compiling and executing then I get 'unhandled memory exception error' in the output window (with debug off) with it on it tells me 'attempt to access field or method of null object'.

Surely it would be more 'user' friendly if it said 'Error graphics mode not set'.

It seems the null object error is a catch all for all errors where there is no error message.