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>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8653 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-12-29 23:35:30 +00:00
parent 436741237f
commit 574fe480e3
1 changed files with 2 additions and 2 deletions

View File

@ -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;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;