mirror of
https://github.com/yawut/SDL.git
synced 2026-07-10 13:44:44 -05:00
Do not send SDL_QUIT from WIIU_PumpEvents: it causes crashes and isn't the right way to do it
This commit is contained in:
parent
5d221e72f1
commit
856e271d2a
|
|
@ -180,12 +180,6 @@ static int WIIU_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode
|
|||
|
||||
static void WIIU_PumpEvents(_THIS)
|
||||
{
|
||||
if (!WHBProcIsRunning()) {
|
||||
SDL_Event ev;
|
||||
ev.type = SDL_QUIT;
|
||||
SDL_PushEvent(&ev);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
static int WIIU_CreateWindowFramebuffer(_THIS, SDL_Window *window, Uint32 *format, void **pixels, int *pitch)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user