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
pd21150Asked:
Who is Participating?
 
davidnsc1Connect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.