Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Changing Screen Resolution - Opinions

Hybrid View

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Bolton, United Kingdom
    Posts
    105

    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

  2. #2
    Junior Member Regular Contributor
    Join Date
    May 2003
    Location
    Germany
    Posts
    232

    Re: Changing Screen Resolution - Opinions

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •