- mirror changes with ZWidget, remove SDL_Wait failure message

This commit is contained in:
Rachael Alexanderson 2024-04-28 03:35:09 -04:00
parent ae05d260d8
commit d5638a591a
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -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);
}
}