Skip to content

Commit

Permalink
- demote SDL_Wait errors to console printouts
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Apr 24, 2024
1 parent 9aa805e commit ae05d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/ZWidget/src/window/sdl2/sdl2displaywindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void SDL2DisplayWindow::RunLoop()
SDL_Event event;
int result = SDL_WaitEvent(&event);
if (result == 0)
throw std::runtime_error(std::string("SDL_WaitEvent failed:") + SDL_GetError());
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
DispatchEvent(event);
}
}
Expand Down

0 comments on commit ae05d26

Please sign in to comment.