|
|
|
@ -487,8 +487,10 @@ zero can be useful for benchmarking purposes, when it is not desirable to |
|
|
|
|
measure the time it takes to wait for the vertical retrace. However, a swap |
|
|
|
|
interval of one lets you avoid tearing. |
|
|
|
|
|
|
|
|
|
Note that not all OpenGL implementations properly implement this function, in |
|
|
|
|
which case @ref glfwSwapInterval will have no effect. Some drivers also have |
|
|
|
|
user settings that override requests by GLFW. |
|
|
|
|
Note that this may not work on all machines, as some drivers have |
|
|
|
|
user-controlled settings that override any swap interval the application |
|
|
|
|
requests. It is also by default disabled on Windows Vista and later when using |
|
|
|
|
DWM (Aero), as using it there sometimes leads to severe jitter. You can |
|
|
|
|
forcibly enable it for machines using DWM using @ref compile_options_win32. |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|