From 574fe480e306f7333c7fc5300aecd552834c8bf6 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 29 Dec 2002 23:35:30 +0000 Subject: [PATCH] Juste a trivial patch for vesa output. The screen were cleaned at init for "stupid BIOSes", but just the first buffer. So when using -double option I got flicker with such a stupid BIOS... patch by Aurelien JACOBS git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8653 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 4dd2096c79..1b5a3e52a2 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -965,18 +965,18 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin printf("vo_vesa: VESA initialization complete\n"); fflush(stdout); } - /* Clear screen for stupid BIOSes */ - clear_screen(); if(HAS_DGA() && vo_doublebuffering) { for(i=0;i1) paintBkGnd(); } } else { + clear_screen(); /* Clear screen for stupid BIOSes */ if(verbose>1) paintBkGnd(); { int x;