From 8cb4b1b67091f9c5e8c448e3db15eb36712cdb94 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 6 Jul 2023 23:55:43 +0300 Subject: [PATCH] fix missed double resolution change --- plugins/gpulib/vout_pl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 1c98b55a..46af2590 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -44,10 +44,10 @@ static void check_mode_change(int force) } // width|rgb24 change? - if (force || (gpu.status ^ old_status) & ((7<<16)|(1<<21)) || h != old_h) + if (force || (gpu.status ^ old_status) & ((7<<16)|(1<<21)) || h_out != old_h) { old_status = gpu.status; - old_h = h; + old_h = h_out; cbs->pl_vout_set_mode(w_out, h_out, w, h, (gpu.status & PSX_GPU_STATUS_RGB24) ? 24 : 16); -- 2.39.2