Fullscreen/windowed switching
Monkey Archive Forums/Monkey Discussion/Fullscreen/windowed switching
| ||
Does anyone have code lying around somewhere that will allow me to switch between windowed and fullscreen on glfw apps? Maybe some way to set resolution too :) |
| ||
You can't. There is no possibility to do that with GLFW at the moment. |
| ||
http://monkeycoder.co.nz/Community/posts.php?topic=4418#50824 Havn't gotten around to updating it yet though but it might be a good start? |
| ||
Woah great, so it is possible now? I wasn't aware of that, sorry. |
| ||
Well its fairly hacky way of doing it and I'm not sure its currently working on v70+ but it was working on v68 last time I tried. You will have to keep track of your image sources and before switching, discard/unload all images. After switching you then have to reload all images back. |
| ||
Thanks will have a look, would be a brilliant addition to official monkey |