From aafcb4ddc257478d613611adcae7cb13fd716577 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 18 Jul 2012 23:41:31 +0300 Subject: gpulib: clear fb when display is blanked --- frontend/plugin_lib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontend') diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 2e954aa..17fa1ec 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -116,6 +116,9 @@ void pl_print_hud(int xborder) { int w = pl_vout_w, h = pl_vout_h; + if (h < 16) + return; + if (g_opts & OPT_SHOWSPU) draw_active_chans(w, h); -- cgit v1.2.3