mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
- mirror changes with ZWidget, remove SDL_Wait failure message
This commit is contained in:
parent
92e509e771
commit
22fd9b66ad
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