mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-02 05:01:58 +00:00
- mirror changes with ZWidget, remove SDL_Wait failure message
This commit is contained in:
parent
5414cae7c6
commit
73c4c46d23
1 changed files with 2 additions and 3 deletions
|
@ -288,8 +288,7 @@ void SDL2DisplayWindow::RunLoop()
|
|||
{
|
||||
SDL_Event event;
|
||||
int result = SDL_WaitEvent(&event);
|
||||
if (result == 0)
|
||||
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
|
||||
if (result == 1)
|
||||
DispatchEvent(event);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue