changeset 8652:edfe94b9d578

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 <aurel@gnuage.org>
author arpi
date Sun, 29 Dec 2002 23:35:30 +0000
parents 50701f34a161
children 5af3d90a8f6b
files libvo/vo_vesa.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Sun Dec 29 23:31:52 2002 +0000
+++ b/libvo/vo_vesa.c	Sun Dec 29 23:35:30 2002 +0000
@@ -965,18 +965,18 @@
 	  printf("vo_vesa: VESA initialization complete\n");
 	  fflush(stdout);
 	}
-	/* Clear screen for stupid BIOSes */
-	clear_screen();
 	if(HAS_DGA() && vo_doublebuffering)
 	{
 	    for(i=0;i<MAX_BUFFERS;i++)
 	    {
 		win.ptr = dga_buffer = video_base + multi_buff[i];
+                clear_screen();	/* Clear screen for stupid BIOSes */
 		if(verbose>1) paintBkGnd();
 	    }
 	}
 	else
 	{
+            clear_screen();	/* Clear screen for stupid BIOSes */
 	    if(verbose>1) paintBkGnd();
 	    {
 	        int x;