mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-06 15:25:39 +00:00
Cosmetic log output change to the renderer.
This commit is contained in:
parent
49a0eb9044
commit
dc620aa11b
|
@ -397,7 +397,8 @@ namespace Renderer
|
||||||
// if vsync is requested, try normal vsync; if that doesn't work, try late swap tearing
|
// if vsync is requested, try normal vsync; if that doesn't work, try late swap tearing
|
||||||
// if that doesn't work, report an error.
|
// if that doesn't work, report an error.
|
||||||
if (SDL_GL_SetSwapInterval(1) != 0 && SDL_GL_SetSwapInterval(-1) != 0) {
|
if (SDL_GL_SetSwapInterval(1) != 0 && SDL_GL_SetSwapInterval(-1) != 0) {
|
||||||
LOG(LogWarning) << "Tried to enable vsync, but failed! (" << SDL_GetError() << ")";
|
LOG(LogWarning) << "Tried to enable vsync, but it failed. (" <<
|
||||||
|
SDL_GetError() << ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -260,7 +260,8 @@ namespace Renderer
|
||||||
// if vsync is requested, try normal vsync; if that doesn't work, try late swap tearing
|
// if vsync is requested, try normal vsync; if that doesn't work, try late swap tearing
|
||||||
// if that doesn't work, report an error.
|
// if that doesn't work, report an error.
|
||||||
if (SDL_GL_SetSwapInterval(1) != 0 && SDL_GL_SetSwapInterval(-1) != 0) {
|
if (SDL_GL_SetSwapInterval(1) != 0 && SDL_GL_SetSwapInterval(-1) != 0) {
|
||||||
LOG(LogWarning) << "Tried to enable vsync, but failed! (" << SDL_GetError() << ")";
|
LOG(LogWarning) << "Tried to enable vsync, but it failed. (" <<
|
||||||
|
SDL_GetError() << ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue