From: kub Date: Sun, 6 Mar 2022 18:25:56 +0000 (+0000) Subject: fix regression selecting SDL window size (for hw scaling) X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3ea3015f042cb3a1615dc3038b524ce0a063722;p=libpicofe.git fix regression selecting SDL window size (for hw scaling) --- 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;