1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-16 12:39:59 +00:00

Revert "Re-revert this - causes issues with toggling fullscreen with threaded"

This reverts commit 52a55695ce8a8fab8f8ab5193abbb27c97cb601c.
This commit is contained in:
twinaphex 2018-07-14 00:22:52 +02:00
parent 4758caea74
commit abc6eb7d8c
2 changed files with 5 additions and 8 deletions

@ -1045,7 +1045,12 @@ void win32_check_window(bool *quit, bool *resize,
unsigned *width, unsigned *height)
{
#if !defined(_XBOX)
const ui_application_t *application =
ui_companion_driver_get_application_ptr();
if (application)
application->process_events();
*quit = g_win32_quit;
#endif
if (g_win32_resized)
{
@ -1054,7 +1059,6 @@ void win32_check_window(bool *quit, bool *resize,
*height = g_win32_resize_height;
g_win32_resized = false;
}
#endif
}
bool win32_suppress_screensaver(void *data, bool enable)

@ -2535,13 +2535,6 @@ static enum runloop_state runloop_check_state(
}
}
{
const ui_application_t *application =
ui_companion_driver_get_application_ptr();
if (application)
application->process_events();
}
video_driver_get_status(&frame_count, &is_alive, &is_focused);
#ifdef HAVE_MENU