Changed the VSync startup log message to the standard format.

This commit is contained in:
Leon Styhre 2023-01-25 21:56:07 +01:00
parent bddaf5f7e9
commit b01dfb5750

View file

@ -337,7 +337,7 @@ void RendererOpenGL::setSwapInterval()
// Adaptive VSync seems to be nonfunctional or having issues on some hardware
// and drivers, so only attempt to apply regular VSync.
if (SDL_GL_SetSwapInterval(1) == 0) {
LOG(LogInfo) << "Enabling VSync...";
LOG(LogInfo) << "VSync: enabled";
}
else {
Settings::getInstance()->setBool("VSync", false);
@ -346,7 +346,7 @@ void RendererOpenGL::setSwapInterval()
}
else {
SDL_GL_SetSwapInterval(0);
LOG(LogInfo) << "Disabling VSync...";
LOG(LogInfo) << "VSync: disabled";
}
}