mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Changed the VSync startup log message to the standard format.
This commit is contained in:
parent
bddaf5f7e9
commit
b01dfb5750
|
@ -337,7 +337,7 @@ void RendererOpenGL::setSwapInterval()
|
||||||
// Adaptive VSync seems to be nonfunctional or having issues on some hardware
|
// Adaptive VSync seems to be nonfunctional or having issues on some hardware
|
||||||
// and drivers, so only attempt to apply regular VSync.
|
// and drivers, so only attempt to apply regular VSync.
|
||||||
if (SDL_GL_SetSwapInterval(1) == 0) {
|
if (SDL_GL_SetSwapInterval(1) == 0) {
|
||||||
LOG(LogInfo) << "Enabling VSync...";
|
LOG(LogInfo) << "VSync: enabled";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Settings::getInstance()->setBool("VSync", false);
|
Settings::getInstance()->setBool("VSync", false);
|
||||||
|
@ -346,7 +346,7 @@ void RendererOpenGL::setSwapInterval()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SDL_GL_SetSwapInterval(0);
|
SDL_GL_SetSwapInterval(0);
|
||||||
LOG(LogInfo) << "Disabling VSync...";
|
LOG(LogInfo) << "VSync: disabled";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue