aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornotaz2015-02-03 03:10:06 +0200
committernotaz2015-02-03 03:10:06 +0200
commit92a5fe88a86f0a25c3bbc74f80b67b16e18608e7 (patch)
treec0d3e32904ae465893c630d0ed3ebd8b73efe34e /plugins
parenteed148b7fcde73477379388da58d12cd379a6a81 (diff)
downloadpcsx_rearmed-92a5fe88a86f0a25c3bbc74f80b67b16e18608e7.tar.gz
pcsx_rearmed-92a5fe88a86f0a25c3bbc74f80b67b16e18608e7.tar.bz2
pcsx_rearmed-92a5fe88a86f0a25c3bbc74f80b67b16e18608e7.zip
frontend: fix minor glitches on video mode changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gpulib/vout_pl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c
index 541b5e0..a9437cb 100644
--- a/plugins/gpulib/vout_pl.c
+++ b/plugins/gpulib/vout_pl.c
@@ -89,11 +89,12 @@ void vout_blank(void)
{
int w = gpu.screen.hres;
int h = gpu.screen.h;
+
+ check_mode_change(0);
if (gpu.state.enhancement_active) {
w *= 2;
h *= 2;
}
- check_mode_change(0);
cbs->pl_vout_flip(NULL, 1024, gpu.status.rgb24, w, h);
}