mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-16 16:51:08 +00:00
- demote SDL_Wait errors to console printouts
This commit is contained in:
parent
54b274ab07
commit
5414cae7c6
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void SDL2DisplayWindow::RunLoop()
|
|||
SDL_Event event;
|
||||
int result = SDL_WaitEvent(&event);
|
||||
if (result == 0)
|
||||
throw std::runtime_error(std::string("SDL_WaitEvent failed:") + SDL_GetError());
|
||||
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
|
||||
DispatchEvent(event);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue