From: notaz Date: Tue, 27 Nov 2012 01:07:44 +0000 (+0200) Subject: frontend: remove res check X-Git-Tag: r18~59 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=f33a0f965a62ca6a8392d16efad00c2bbd878351 frontend: remove res check it's already done at the upper level, and this was wrong anyway because plat_gvideo_set_mode can change vout_w and vout_h --- diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 400e9ff2..73ddc825 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -257,10 +257,6 @@ static void pl_vout_set_mode(int w, int h, int raw_w, int raw_h, int bpp) } #endif - if (pl_vout_buf != NULL && vout_w == pl_vout_w && vout_h == pl_vout_h - && vout_bpp == pl_vout_bpp) - return; - update_layer_size(vout_w, vout_h); pl_vout_buf = plat_gvideo_set_mode(&vout_w, &vout_h, &vout_bpp);