From e3ea3015f042cb3a1615dc3038b524ce0a063722 Mon Sep 17 00:00:00 2001 From: kub Date: Sun, 6 Mar 2022 18:25:56 +0000 Subject: [PATCH] fix regression selecting SDL window size (for hw scaling) --- plat_sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat_sdl.c b/plat_sdl.c index a167a63..cae9490 100644 --- a/plat_sdl.c +++ b/plat_sdl.c @@ -126,8 +126,8 @@ int plat_sdl_change_video_mode(int w, int h, int force) if (plat_target.vout_method == 0) { Uint32 flags; - int win_w = window_w; - int win_h = window_h; + int win_w = w; + int win_h = h; #if defined SDL_SURFACE_SW flags = SDL_SWSURFACE; -- 2.39.5