aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2012-11-27 03:07:44 +0200
committernotaz2012-11-28 18:49:33 +0200
commitf33a0f965a62ca6a8392d16efad00c2bbd878351 (patch)
tree9d0e5e6e0caa5f117f217b2ded7292114f2c541e /frontend
parent02783d0b37a8b8c2d220f931e5bb2be2036dff87 (diff)
downloadpcsx_rearmed-f33a0f965a62ca6a8392d16efad00c2bbd878351.tar.gz
pcsx_rearmed-f33a0f965a62ca6a8392d16efad00c2bbd878351.tar.bz2
pcsx_rearmed-f33a0f965a62ca6a8392d16efad00c2bbd878351.zip
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
Diffstat (limited to 'frontend')
-rw-r--r--frontend/plugin_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 400e9ff..73ddc82 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);