SwapBuffers

Started by
2 comments, last by Gabriel Fleseriu 22 years, 1 month ago
Hi there. I wasn''t able to find anything of this in my documentation, but my tests indicate that: 1. SwapBuffers() is synchronized w/ the monitors refresh 2. SwapBuffers() is blocking Is this true on all (Win32) systems? (Unfortunately I canot test on other systems. Thanks, Gabriel Forever trusting who we are And nothing else matters - Metallica
Forever trusting who we areAnd nothing else matters - Metallica
Advertisement
It is possible that you are synching with the refresh rate...

Go to your display settings, in your video boards tab and disable the vertical refresh rate...
I don''t know whether or not SwapBuffers blocks on all Win32 systems, but I''d guess that it does.

You can cause it to not sync with the monitor''s refresh, though, by using the WGL_EXT_swap_control extension (which is fairly widely supported).
Thx.

Forever trusting who we are
And nothing else matters - Metallica
Forever trusting who we areAnd nothing else matters - Metallica

This topic is closed to new replies.

Advertisement