Jump to content
  • Advertisement
Sign in to follow this  

[SDL] problems changing resolutions

This topic is 4082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, My SDL application is an application launcher which presents an interface to the user and launches programs based on the user's input. I use SDL for the window management and input handling and OpenGL for the graphical stuff. I'm having problems getting the screen resolution to sync up right. My desktop might run at resolution A, my application at resolution B, and the launched program may run at resolution C. I've gone so far as to destroy everything having to do with my window when my application comes back from after having launched a user app, then recreating the main surface with SDL_SetVideoMode. What happens now is that my OpenGL info will display halfway down the screen. This also happens when running my application in windowed mode. I have also gotten the application to come back and it minimizes itself for some unknown reason, but it doesn't do that ATM. If it matters, I'm launching applications with the Windows ShellExecuteEx functions. TIA, Cakemeister

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!