Dreamora: I do agree with you in priciple but im just saying that to people coming to BlitzMax from the other blitz languages the error isnt that explanatory.
Basically its always thrown as soon as setcolor or any of the drawing commands are called and unlike Blitz3d there is no canvas setup to draw to as default.
The main thing here I think it would be good in the debugger to whack out a 'Graphics mode not set' error or something like that. This may throw performance down a bit in the debugger but as soon as its compiled properly there wouldnt be a problem.
Basically its always thrown as soon as setcolor or any of the drawing commands are called and unlike Blitz3d there is no canvas setup to draw to as default.
The main thing here I think it would be good in the debugger to whack out a 'Graphics mode not set' error or something like that. This may throw performance down a bit in the debugger but as soon as its compiled properly there wouldnt be a problem.