mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 04:29:53 +08:00
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:
+5
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user