summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vesa.c
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 09:12:32 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 09:12:32 +0000
commitc4d519e1938327e2771f7a8e7d262adaca62c578 (patch)
tree5ef546a6ea021030158e57d614c0b3cb76216efa /libvo/vo_vesa.c
parent420039c5f5833fea1b2e32ec95ccd9f8b4e791bf (diff)
downloadmpv-c4d519e1938327e2771f7a8e7d262adaca62c578.tar.bz2
mpv-c4d519e1938327e2771f7a8e7d262adaca62c578.tar.xz
code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4494 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r--libvo/vo_vesa.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index 20bb99042b..29e104b271 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -338,11 +338,7 @@ static void flip_page(void)
if(!HAS_DGA()) __vbeCopyData(dga_buffer);
flip_trigger = 0;
}
- if(vo_doublebuffering && multi_size > 1 && !lvo_name
-#ifdef CONFIG_VIDIX
- && !vidix_name
-#endif
- )
+ if(vo_doublebuffering && multi_size > 1)
{
int err;
if((err=vbeSetDisplayStart(multi_buff[multi_idx],1)) != VBE_OK)
@@ -400,11 +396,7 @@ static uint32_t draw_frame(uint8_t *src[])
if(verbose > 2)
printf("vo_vesa: rgb2rgb_fnc was called\n");
}
- if((!rgb2rgb_fnc || !HAS_DGA()) && !lvo_name
-#ifdef CONFIG_VIDIX
- && !vidix_name
-#endif
- ) __vbeCopyData(data);
+ if(!rgb2rgb_fnc || !HAS_DGA()) __vbeCopyData(data);
return 0;
}