There is a FreeSound() command, a FreeImage() command etc etc. but is there no "free graphics" command for the "Graphics" command?
WEIRD!
Blitz3D Forums/Blitz3D Beginners Area/WEIRD! Does Blitz not do this automatically?
In fact there is an EndGraphics command.
But it's not easy to think of a situation where you would actually need it.
But it's not easy to think of a situation where you would actually need it.
Ooh, this wasn't an original command - I've never seen it.
I am very much into "cleaning up" when my code finishes, so I presume the "END" command automatically cleans up after the GRAPHICS command?
Anyone knows?
Anyone knows?
endgraphics removes all graphics, like end, but with endgraphics you can continue the program.
Please use more descriptive titles for your postings, thx.
Please use more descriptive titles for your postings, thx.
Sometimes I use EndGraphics when I want to switch from FullScreen mode to Windowed mode using BlitzPlus (when the fullscreen mode resolution does not equal the Desktop's native resolution, and when I want to use a canvas in BlitzPlus).
Aha, so Blitz does do it automatically on end (which you'd have to assume it would have) - still, I now know there is an EndGraphics command too
but if you simply issue another call to the graphics command, doesn't this void the need for endgraphics as it does it anyway?
Ooh, this wasn't an original command - I've never seen it.
Well, it existed in Blitz Basic 1.24 (the first released version), and every version of Blitz Basic, BlitzPlus and Blitz3D ever since...