add no fs as default for windrivers

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4926 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4
2002-03-03 13:40:23 +00:00
parent 535a697b82
commit a647697e70
+5 -1
View File
@@ -901,7 +901,11 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
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);
}