View Full Version : glutPostRedisplay!

06-17-2003, 06:43 AM

Im working on a playback algorithm for playback of 2d graphics using opengl. we are not using glut but missing the excellent function of glutPostRedisplay. so whats in it? and what does it work like?

first we tried with a simple while statement but thats no enough, it blocks the whole application.

Suggestions are welcome!

// Joda

06-17-2003, 06:58 AM
Send a WM_DRAW message to your window and process it in your window callback function (by drawing and swapping buffers, of course).

Or use some custom message, it really doesn't matter.

This of course requires some working knowledge of Win32 (or X or whatever), but if you don't want to use GLUT, you should already be there ...