summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
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;