mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Quick and dirty fix for fullscreen RGUI crash.
This commit is contained in:
parent
6a45de307d
commit
171cb7ed79
@ -1423,6 +1423,9 @@ bool menu_iterate(void *video_data)
|
|||||||
#endif
|
#endif
|
||||||
rarch_check_fullscreen();
|
rarch_check_fullscreen();
|
||||||
|
|
||||||
|
// video_data can have changed here ...
|
||||||
|
video_data = driver.video_data;
|
||||||
|
|
||||||
if (input_key_pressed_func(RARCH_QUIT_KEY) || !video_alive_func())
|
if (input_key_pressed_func(RARCH_QUIT_KEY) || !video_alive_func())
|
||||||
{
|
{
|
||||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||||
@ -1487,6 +1490,9 @@ bool menu_iterate(void *video_data)
|
|||||||
if (menu_ctx)
|
if (menu_ctx)
|
||||||
input_entry_ret = menu_iterate_func(rgui, video_data, action);
|
input_entry_ret = menu_iterate_func(rgui, video_data, action);
|
||||||
|
|
||||||
|
// video_data can have changed here ...
|
||||||
|
video_data = driver.video_data;
|
||||||
|
|
||||||
if (video_data && driver.video_poke && driver.video_poke->set_texture_enable)
|
if (video_data && driver.video_poke && driver.video_poke->set_texture_enable)
|
||||||
driver.video_poke->set_texture_enable(video_data, rgui->frame_buf_show, MENU_TEXTURE_FULLSCREEN);
|
driver.video_poke->set_texture_enable(video_data, rgui->frame_buf_show, MENU_TEXTURE_FULLSCREEN);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user