Don't block window restored or window exposed cases

This commit is contained in:
rainmakerv3 2025-06-26 09:48:39 +08:00
parent 134ae3e997
commit f1b6342313

View File

@ -19,6 +19,10 @@ Wrapper* Wrapper::GetInstance() {
bool Wrapper::ProcessEvent(SDL_Event* event) {
switch (event->type) {
case SDL_EVENT_WINDOW_RESTORED:
return false;
case SDL_EVENT_WINDOW_EXPOSED:
return false;
case SDL_EVENT_GAMEPAD_ADDED:
return false;
case SDL_EVENT_GAMEPAD_REMOVED: