aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib/vout_pl.c
diff options
context:
space:
mode:
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);
}