Cls error?

BlitzMax Forums/BlitzMax Programming/Cls error?

*(Posted 2011) [#1]
Hi I am writing a game but the whole thing goes through fine until it hits Cls where it throws a 'Unhandled exception:attempt to access field of null object' I have done the debug stop step through etc but it dies at Cls anyone else had this or is it just me?

Im on a Mac Mini, OSX 10.6.8, 4Gb ram, 9600M NVidia graphics


GfK(Posted 2011) [#2]
Forgot to call Graphics()?


*(Posted 2011) [#3]
nah it does graphics, the window comes up then dies at cls.

I nailed it down to I forgot setgraphics to the opengl driver that will teach me to use frameworks ROFL


TomShep(Posted 2011) [#4]
Are the links to your graphics files during load correct?


*(Posted 2011) [#5]
yeah sorted now it was setgraphics