changeset 4925:6719d1a3be53

add no fs as default for windrivers
author atmos4
date Sun, 03 Mar 2002 13:40:23 +0000
parents ca4b8b6b1175
children 1155b2d22f07
files libvo/vo_sdl.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Sun Mar 03 13:36:57 2002 +0000
+++ b/libvo/vo_sdl.c	Sun Mar 03 13:40:23 2002 +0000
@@ -901,7 +901,11 @@
 		set_fullmode(priv->fullmode);
 	} 
         else {
-		if((strcmp(priv->driver, "x11") == 0) || ((strcmp(priv->driver, "aalib") == 0) && priv->X)) {
+		if((strcmp(priv->driver, "x11") == 0)
+		||(strcmp(priv->driver, "windib") == 0)
+		||(strcmp(priv->driver, "directx") == 0)
+		||((strcmp(priv->driver, "aalib") == 0)
+		&& priv->X)) {
 			if(verbose) printf("SDL: setting windowed mode\n");
             set_video_mode(priv->dstwidth, priv->dstheight, priv->bpp, priv->sdlflags);
 		}