Changing Screen Resolution - Opinions

In our application, we have arranged it such that the user can change screen resolution from within the program. We don’t destroy and recreate the OpenGL drawing canvas … and it appears to work without any problems on a range of systems/cards.

I’ve heard from others that this might cause problems and that I should reinitialize the OpenGL canvas …

What is considered best practice when changing resolution ?

Thanks

Andrew

As far as I’m aware you may get problems with the way you do it, if the user not only changes the resolution but also switches to another colordepth. So I’d just test if the new resolution has a different colordepth, and if that’s the case I would recreate the RC and reload all needed stuff. This way you’re on the safer side and it may avoid problems especially on non-NVidia/ATI-cards.