Jump to content
  • Advertisement
Sign in to follow this  
chippiejnr

OpenGL forcing a re-render whilst not in focus

This topic is 3715 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

Hey guys, I've got an application that uses openGL to display a picture. Another window is then used to toggle what should be displayed. So i update a variable in the main execution loop and put an if else statement to tell it what to render - acts like a toggle. However I've noticed that the display doesn't get updated unless the window is in focus, or i hover my mouse of it. I there a way to forcefully redraw the window? I've put a printf statement in the main glut loop only to find that its not actually been called until the window is back in focus from a glutPostRedisplay() [Edited by - chippiejnr on April 23, 2008 10:40:45 AM]

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!