Windowed/Fullscreen

BlitzMax Forums/BlitzMax Beginners Area/Windowed/Fullscreen

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I don't use EndGraphics and don't have any problems, since graphics are not unloaded from memory as they used to be in previous versions of Blitz (3D, Plus, etc).

EndGraphics does, however, free any graphics you may have loaded. In this case, you will need to reload any media in order to avoid the error you describe.
EndGraphics is the first command called when you call Graphics, so yes you are calling it.
There is infact no point going
EndGraphics
Graphics 800,600 (OR whatever)
Because AS said EndGraphics is already going to be called

This also means that you thinking that Graphics doesnt unload stuff, but that endgraphics does. Is simply wrong

Function Graphics:TGraphics( width,height,depth=0,hertz=60,flags=0 )

	EndGraphics
	flags:|_defaultFlags

	Local g:TGraphics=CreateGraphics( width,height,depth,hertz,flags )
	If Not g Return
..


Are you using EndGraphics?
Same as above. But still a valuable question, because maybe , ppl are staring the grpahics with
TGraphics.CreateGraphics ( width,height,depth,hertz,flags )