mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
Don't block window restored or window exposed cases
This commit is contained in:
parent
134ae3e997
commit
f1b6342313
@ -19,6 +19,10 @@ Wrapper* Wrapper::GetInstance() {
|
|||||||
|
|
||||||
bool Wrapper::ProcessEvent(SDL_Event* event) {
|
bool Wrapper::ProcessEvent(SDL_Event* event) {
|
||||||
switch (event->type) {
|
switch (event->type) {
|
||||||
|
case SDL_EVENT_WINDOW_RESTORED:
|
||||||
|
return false;
|
||||||
|
case SDL_EVENT_WINDOW_EXPOSED:
|
||||||
|
return false;
|
||||||
case SDL_EVENT_GAMEPAD_ADDED:
|
case SDL_EVENT_GAMEPAD_ADDED:
|
||||||
return false;
|
return false;
|
||||||
case SDL_EVENT_GAMEPAD_REMOVED:
|
case SDL_EVENT_GAMEPAD_REMOVED:
|
||||||
|
Loading…
Reference in New Issue
Block a user