Fix vsync on WindowsGL

Affects issue #1184
Merge pull request #2358 from thefiddler/gl-vsync

Fix vsync on WindowsGL