Make sure some things are logged (#5515)
* sdl_impl.cpp: actually log the sdl error * Log cpu slider and vsync
This commit is contained in:
parent
a26b466ac8
commit
ff9c3b0531
2 changed files with 3 additions and 1 deletions
|
@ -470,7 +470,7 @@ SDLState::SDLState() {
|
|||
return;
|
||||
}
|
||||
if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) {
|
||||
LOG_ERROR(Input, "Failed to set Hint for background events", SDL_GetError());
|
||||
LOG_ERROR(Input, "Failed to set Hint for background events: {}", SDL_GetError());
|
||||
}
|
||||
// these hints are only defined on sdl2.0.9 or higher
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue