aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib/vout_pl.c
diff options
context:
space:
mode:
authornotaz2015-02-06 01:29:00 +0200
committernotaz2015-02-06 01:29:00 +0200
commit2af7e74feec67c0a798ac190774cb4b3e925be76 (patch)
tree27a148679e25f6edb7a2dd85c54514139bb72450 /plugins/gpulib/vout_pl.c
parentcebb70f24ab54693b12aaa27b85a52689e26e1ff (diff)
parent1e0eac2348343c8a046f7a75d460f087556cf7f6 (diff)
downloadpcsx_rearmed-2af7e74feec67c0a798ac190774cb4b3e925be76.tar.gz
pcsx_rearmed-2af7e74feec67c0a798ac190774cb4b3e925be76.tar.bz2
pcsx_rearmed-2af7e74feec67c0a798ac190774cb4b3e925be76.zip
Merge branch 'upstream' into libretro
Diffstat (limited to 'plugins/gpulib/vout_pl.c')
-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);
}