(Wayland) Use checked sizes in EGL resize (#13394)

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

View File

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