Fix vsync not used without OpenGL
Merge branch 'master' of https://github.com/christopho/solarus