From 92a5fe88a86f0a25c3bbc74f80b67b16e18608e7 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 3 Feb 2015 03:10:06 +0200 Subject: frontend: fix minor glitches on video mode changes --- plugins/gpulib/vout_pl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') 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); } -- cgit v1.2.3