frontend: fix minor glitches on video mode changes
[pcsx_rearmed.git] / plugins / gpulib / vout_pl.c
index 541b5e0..a9437cb 100644 (file)
@@ -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);
 }