Calling Graphics twice
BlitzMax Forums/BlitzMax Beginners Area/Calling Graphics twice
| ||
If I call Graphics twice in a row (i.e. app starts in full-screen and user then clicks windowed mode) do I need to call EndGraphics in between the Graphics commands to "free" up and resources or is it fine to just call Graphics twice? thanks |
| ||
I think it's safe to just call graphics twice. But I should probably put endgraphics there anyway, since I'm a bit paranoid. :) |
| ||
Just call it, BMAX remembers everything. |
| ||
so YOU say ;-) and how many bugs have you personally found and fixed hmm, quite a lot methinks! |
| ||
Actually with the new garbage collector it might chuck them out with the old cat food. |
| ||
cats eat some bugs |
| ||
Fascinating. |
| ||
Good Question, but catfood is not the answer. ANYONE? |
| ||
do I need to call EndGraphics in between the Graphics commands to "free" up and resources or is it fine to just call Graphics twice? Yes you do, but "because of resources" is not the reason. Because Intel (at least, probably others) write @#!*ty drivers, is the real reason. |
| ||
It's great how the filter hasn't stopped anyone from swearing once. |
| ||
OK, so I'm safer calling it then like I already do. I'm a breed of developer who is "paranoid" but for good reasons. I've been in this game long enough never to ASSUME anything will work properly and that someone else HASN'T @#!*ed it up. I test stuff to find out for sure or if I can't know for sure, do it the safe way anyway. |