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:
rw-r-r-0644 2018-09-16 14:58:17 +02:00 committed by Ash Logan
parent 5d221e72f1
commit 856e271d2a

View File

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