Small changes for aalib.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@863 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmosfear 2001-05-24 19:03:31 +00:00
parent 39a4a91c65
commit 727bd8fd09
1 changed files with 1 additions and 1 deletions

View File

@ -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);