Browse Source

Set default frameRateLimit to 70 as a safety net for monitors without

v-sync.
tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
db715063a9
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      include/settings.hpp
  2. +1
    -0
      src/window.cpp

+ 1
- 1
include/settings.hpp View File

@@ -21,7 +21,7 @@ struct Settings {
bool cpuMeter = false;
bool lockModules = false;
bool checkVersion = true;
float frameRateLimit = 0.0;
float frameRateLimit = 70.0;
bool frameRateSync = true;
bool skipLoadOnLaunch = false;
std::string patchPath;


+ 1
- 0
src/window.cpp View File

@@ -401,6 +401,7 @@ void Window::run() {

// Compute actual frame rate
endTime = glfwGetTime();
// DEBUG("%g fps", 1 / (endTime - startTime));
frame++;
}
}


Loading…
Cancel
Save