1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-03 01:21:10 +00:00

(Wayland) Use checked sizes in EGL resize ()

This commit is contained in:
Colin Kinloch 2021-12-24 02:27:07 +00:00 committed by GitHub
parent 7d52d43667
commit 1afbe4a326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,