changeset 9632:cf92beb331ab

multiple preinit support -- cleaning vidix_name between the multiple preinits. Patch by Aurlien JACOBS <aurel@gnuage.org>
author alex
date Fri, 21 Mar 2003 16:32:53 +0000
parents d0b7a6b898c8
children 12b1790038b0
files libvo/vo_vesa.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Fri Mar 21 16:29:04 2003 +0000
+++ b/libvo/vo_vesa.c	Fri Mar 21 16:32:53 2003 +0000
@@ -436,6 +436,10 @@
 {
    uint32_t flags;
    flags = 0;
+   lvo_name = NULL;
+#ifdef CONFIG_VIDIX
+   vidix_name = NULL;
+#endif
    if(strcmp(sd,"nodga") == 0) { flags |= SUBDEV_NODGA; flags &= ~(SUBDEV_FORCEDGA); }
    else
    if(strcmp(sd,"dga") == 0)   { flags &= ~(SUBDEV_NODGA); flags |= SUBDEV_FORCEDGA; }