mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add VSync graphics option, off by default
This is if you want delta-timesteps to go as quickly as possible. Also it seems like on Windows this only has an effect in exclusive fullscreen mode.
This commit is contained in:
@@ -364,6 +364,13 @@ void menuactionpress()
|
||||
game.over30mode = !game.over30mode;
|
||||
game.savestats();
|
||||
break;
|
||||
case 6:
|
||||
//toggle vsync
|
||||
music.playef(11);
|
||||
graphics.vsync = !graphics.vsync;
|
||||
graphics.processVsync();
|
||||
game.savestats();
|
||||
break;
|
||||
default:
|
||||
//back
|
||||
music.playef(11);
|
||||
|
||||
Reference in New Issue
Block a user