diff options
Diffstat (limited to 'libvo/vo_mga.c')
-rw-r--r-- | libvo/vo_mga.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c index 9eaa6c5190..b7c9d361cf 100644 --- a/libvo/vo_mga.c +++ b/libvo/vo_mga.c @@ -62,6 +62,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin { char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid"; + if (f >= 0) mga_uninit(); if(!vo_screenwidth || !vo_screenheight) { int fd; struct fb_var_screeninfo fbinfo; |