mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-14 08:30:40 +00:00
- mirror changes with ZWidget, remove SDL_Wait failure message
This commit is contained in:
parent
ae05d260d8
commit
d5638a591a
1 changed files with 2 additions and 3 deletions
|
@ -288,9 +288,8 @@ void SDL2DisplayWindow::RunLoop()
|
|||
{
|
||||
SDL_Event event;
|
||||
int result = SDL_WaitEvent(&event);
|
||||
if (result == 0)
|
||||
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
|
||||
DispatchEvent(event);
|
||||
if (result == 1)
|
||||
DispatchEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue