WEIRD!

Blitz3D Forums/Blitz3D Beginners Area/WEIRD!

Hansie(Posted 2003) [#1]
There is a FreeSound() command, a FreeImage() command etc etc. but is there no "free graphics" command for the "Graphics" command?


puki(Posted 2003) [#2]
Does Blitz not do this automatically?


Floyd(Posted 2003) [#3]
In fact there is an EndGraphics command.

But it's not easy to think of a situation where you would actually need it.


puki(Posted 2003) [#4]
Ooh, this wasn't an original command - I've never seen it.


Hansie(Posted 2003) [#5]
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?


jfk EO-11110(Posted 2003) [#6]
endgraphics removes all graphics, like end, but with endgraphics you can continue the program.

Please use more descriptive titles for your postings, thx.


soja(Posted 2003) [#7]
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).


puki(Posted 2003) [#8]
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


andy_mc(Posted 2003) [#9]
but if you simply issue another call to the graphics command, doesn't this void the need for endgraphics as it does it anyway?


GfK(Posted 2003) [#10]
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...