EndGraphics?
BlitzMax Forums/BlitzMax Beginners Area/EndGraphics?
| ||
Is it OK to just open a new graphics mode or should I start by closing the previous one? I`ve seen some examples that use EndGraphics first and others that omit the command completely. Is this bad practice? What is EndGraphics doing behind the scenes? Thanks for any advice. Jason. |
| ||
It wouldn't hurt to EndGraphics() anyway if you don't need to keep the other screen open. I'm not sure if Max lets you have more than one screen open at a time, but SetGraphics() does suggest so. |
| ||
Graphics calls EndGraphics at the beginning of the function. |
| ||
I'm not sure if Max lets you have more than one screen open at a time, but SetGraphics() does suggest so. In MaxGUI you can set more than one canvas in a window. You can also open multiple windows with their own canvas. That's why I asked for a GetGraphics() function in this thread. |