Fix OpenGL VSync
Merge pull request #533 from Anti-Ultimate/master

Fix OpenGL VSync