mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 01:21:10 +00:00
(Wayland) Use checked sizes in EGL resize (#13394)
This commit is contained in:
parent
7d52d43667
commit
1afbe4a326
@ -93,7 +93,7 @@ static void handle_toplevel_config_common(void *data,
|
|||||||
|
|
||||||
#ifdef HAVE_EGL
|
#ifdef HAVE_EGL
|
||||||
if (wl->win)
|
if (wl->win)
|
||||||
wl_egl_window_resize(wl->win, width, height, 0, 0);
|
wl_egl_window_resize(wl->win, wl->width, wl->height, 0, 0);
|
||||||
else
|
else
|
||||||
wl->win = wl_egl_window_create(wl->surface,
|
wl->win = wl_egl_window_create(wl->surface,
|
||||||
wl->width * wl->buffer_scale,
|
wl->width * wl->buffer_scale,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user