mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +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)
|
if (new_width != *width * wl->last_buffer_scale || new_height != *height * wl->last_buffer_scale)
|
||||||
{
|
{
|
||||||
*resize = true;
|
|
||||||
*width = new_width;
|
*width = new_width;
|
||||||
*height = new_height;
|
*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;
|
wl->last_buffer_scale = wl->buffer_scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user