OpenGL + Changing resolution in fullscreen


About OpenGL + resolution changes, Sam Latinga said: “The context is always reset in fullscreen mode.”

I’m guessing this must have come up quite a few times already, but could someone please explain why this happens?

  1. Why is the context always reset in fullscreen mode?

  2. What would be the proper way to change the resolution in fullscreen mode? Using a manager to keeps tabs on everything that must be reloaded/reconfigured after the resolution changes?

Daniel Camozzato