Set VSYNC to adaptive (if available)
Swap interval is the number of "v-blanks" that occur between swaps of the front and back buffer. Setting to -1 allows modern cards to chose the best method. Fallback is 0 if this is not supported.
Please test on MSW as this may require alternate system calls if glew is not fully supported.