[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 737
  • Last Modified:

GLUT - unforced scene redisplay

I'm trying to learn  OpneGl - Glut. Even if I roll over Minimize button of the window the scene will be redisplayed. Where is the problem? thx
0
pd21150
Asked:
pd21150
  • 3
1 Solution
 
davidnsc1Commented:
You need to put glutPostRedisplay(); somewhere--either in a glut timer or idle function.  This will tell GLUT to call your Display function at the next possible chance.
0
 
davidnsc1Commented:
Oh wait, sorry, I'm brain-dead.  That wasn't your question.  Give me a minute and I'll try to answer it properly.  Sorry!
0
 
davidnsc1Commented:
Could you explain your problem further?  When you pause your mouse over the minimize button, the tooltip appears, and then glut triggers the display function?  Do you not want that to happen, or am I not quite getting your problem?
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now