X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpulib%2Fvout_pl.c;h=46af2590b46a1dd32a4a3113f3c80548b81b035a;hp=1c98b55afeb50ffbdc7fe88276164b0d52e79594;hb=8cb4b1b67091f9c5e8c448e3db15eb36712cdb94;hpb=4904809d2ed121844ea23cf0ea580785d3da1f0b 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);