mirror of
https://github.com/yawut/SDL.git
synced 2026-09-13 11:36:32 -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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user