mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +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,8 +288,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 == 1)
|
||||||
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
|
|
||||||
DispatchEvent(event);
|
DispatchEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue