mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 13:02:27 +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
|
||||
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())
|
||||
{
|
||||
g_extern.lifecycle_state |= (1ULL << MODE_GAME);
|
||||
@ -1487,6 +1490,9 @@ bool menu_iterate(void *video_data)
|
||||
if (menu_ctx)
|
||||
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)
|
||||
driver.video_poke->set_texture_enable(video_data, rgui->frame_buf_show, MENU_TEXTURE_FULLSCREEN);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user