mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- demote SDL_Wait errors to console printouts
This commit is contained in:
parent
9aa805e749
commit
ae05d260d8
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void SDL2DisplayWindow::RunLoop()
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
int result = SDL_WaitEvent(&event);
|
int result = SDL_WaitEvent(&event);
|
||||||
if (result == 0)
|
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);
|
DispatchEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue