I know that BlitzMax handles all the moving of images between RAM and VRAM. As stated I don't manually use it myself and have options to switch resolution and modes in my own games that work with no issues.
I didn't know that EndGraphics got called with a Graphics call anyway, so assumed it's use to be one of closing the current graphics session and freeing up any images, and therefore RAM. Sorry if my assumption was wrong and caused confusion.
Regardless of all this EndGraphics malarky, the issue that Josepho was having has already been solved and nothing to do with his use of EndGraphics at all. His version of BlitzMax wasn't up to date and was using the DX modules that had problems with switching modes.
I didn't know that EndGraphics got called with a Graphics call anyway, so assumed it's use to be one of closing the current graphics session and freeing up any images, and therefore RAM. Sorry if my assumption was wrong and caused confusion.
Regardless of all this EndGraphics malarky, the issue that Josepho was having has already been solved and nothing to do with his use of EndGraphics at all. His version of BlitzMax wasn't up to date and was using the DX modules that had problems with switching modes.