mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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
|
||||
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
|
||||
wl->win = wl_egl_window_create(wl->surface,
|
||||
wl->width * wl->buffer_scale,
|
||||
|
Loading…
x
Reference in New Issue
Block a user