summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index cf2d8c19b9..959f6f5781 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -380,7 +380,9 @@ static int mga_init(int width,int height,unsigned int format){
//clear the buffer
memset(frames[0],0x80,mga_vid_config.frame_size*mga_vid_config.num_frames);
+#ifndef VO_XMGA
ioctl(f,MGA_VID_ON,0);
+#endif
return 0;
}