mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(Wayland) Untested - apply the same for Wayland
This commit is contained in:
parent
aa428e4a82
commit
a623a611f1
@ -1148,9 +1148,14 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit,
|
||||
|
||||
if (new_width != *width * wl->last_buffer_scale || new_height != *height * wl->last_buffer_scale)
|
||||
{
|
||||
*resize = true;
|
||||
*width = new_width;
|
||||
*height = new_height;
|
||||
*resize = true;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
rarch_ctl(RARCH_CTL_SET_DEFERRED_MENU_CONTEXT_RESET, NULL);
|
||||
#endif
|
||||
|
||||
wl->last_buffer_scale = wl->buffer_scale;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user