From 1afbe4a3269681d01b1a9725b714a50c97ae7caa Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Fri, 24 Dec 2021 02:27:07 +0000 Subject: [PATCH] (Wayland) Use checked sizes in EGL resize (#13394) --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 34f1c49a3c..336c4437f9 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -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,