mirror of https://github.com/mpv-player/mpv
Small changes for aalib.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@863 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
39a4a91c65
commit
727bd8fd09
|
@ -707,7 +707,7 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3
|
||||||
set_fullmode(priv->fullmode);
|
set_fullmode(priv->fullmode);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(strcmp(priv->driver, "x11") == 0) {
|
if((strcmp(priv->driver, "x11") == 0) || (strcmp(priv->driver, "aalib") == 0)) {
|
||||||
if(verbose) printf("SDL: setting windowed mode\n");
|
if(verbose) printf("SDL: setting windowed mode\n");
|
||||||
#ifdef HAVE_X11
|
#ifdef HAVE_X11
|
||||||
priv->surface = SDL_SetVideoMode (res.w, res.h, priv->bpp, priv->sdlflags);
|
priv->surface = SDL_SetVideoMode (res.w, res.h, priv->bpp, priv->sdlflags);
|
||||||
|
|
Loading…
Reference in New Issue