refresh rate.

It is about the refresh rate. I use Opengl to draw picture in such way:
if the refresh rate of my display is 70HZ. I would draw the picture in the first frame and clear the screen in the second frame, and so on. In this way I draw 35 picures per second.
the synchronization with the diplay is the problem for me. any suggestions?

If you’re on windows and you’ve got the WGL_EXT_swap_control extension, try

wglSwapIntervalEXT( 2 );

Thanks, mikef!
I will try that!