summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-29 23:35:30 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-29 23:35:30 +0000
commit574fe480e306f7333c7fc5300aecd552834c8bf6 (patch)
tree1a444c34bb9395d78e574778eccc0d23ce1e4f6e /libvo
parent436741237f64abb483d1b99dc8e9b22ae9f6c2ea (diff)
downloadmpv-574fe480e306f7333c7fc5300aecd552834c8bf6.tar.bz2
mpv-574fe480e306f7333c7fc5300aecd552834c8bf6.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vesa.c4
1 files 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;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;