Skip to content

Commit

Permalink
Making "none" the explicit choice for VSYNC_MODE_DISABLED in the opti…
Browse files Browse the repository at this point in the history
…ons menu.
  • Loading branch information
indigodarkwolf committed Jul 18, 2024
1 parent de917e2 commit 8788a8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,7 @@ static void set_ini_main(mINI::INIMap<std::string> &ini_main, bool all)

auto vsync_mode_str = [](vsync_mode_t mode) -> const char * {
switch (mode) {
case vsync_mode_t::VSYNC_MODE_DISABLED: return "none";
case vsync_mode_t::VSYNC_MODE_NONE: return "none";
case vsync_mode_t::VSYNC_MODE_GET_SYNC: return "get";
case vsync_mode_t::VSYNC_MODE_WAIT_SYNC: return "wait";
Expand Down

0 comments on commit 8788a8a

Please sign in to comment.