# HG changeset patch # User atmos4 # Date 997777132 0 # Node ID f9beae70c5c25f129100c5427ebf332e4f5d7702 # Parent 6e752419c7e87e34864e46216e81e57d7d90df1e Removed D key for doublesize, already clobbered by framedrop. diff -r 6e752419c7e8 -r f9beae70c5c2 DOCS/SDL --- a/DOCS/SDL Tue Aug 14 07:16:12 2001 +0000 +++ b/DOCS/SDL Tue Aug 14 08:18:52 2001 +0000 @@ -11,8 +11,7 @@ F toggles fullscreen/windowed mode C cycles available fullscreen modes W/S mappings for * and / (mixer control) -N sets normal size -D sets double size +N sets normal/double size KNOWN BUGS: - Keys pressed under aalib console driver repeat forever. @@ -22,4 +21,4 @@ mailinglist. -- -Felix Bünemann, 2001-07-28 +Felix Bünemann, 2001-08-14 diff -r 6e752419c7e8 -r f9beae70c5c2 libvo/vo_sdl.c --- a/libvo/vo_sdl.c Tue Aug 14 07:16:12 2001 +0000 +++ b/libvo/vo_sdl.c Tue Aug 14 08:18:52 2001 +0000 @@ -1089,10 +1089,7 @@ priv->windowsize.w = priv->surface->w; priv->windowsize.h = priv->surface->h; if(verbose > 1) printf("SDL: Normal size\n"); - } - } - - else if ( keypressed == SDLK_d ) { + } else if (priv->surface->w != priv->width * 2 || priv->surface->h != priv->height * 2) { priv->surface = SDL_SetVideoMode(priv->width * 2, priv->height * 2, priv->bpp, priv->sdlflags); priv->windowsize.w = priv->surface->w; @@ -1100,7 +1097,7 @@ if(verbose > 1) printf("SDL: Double size\n"); } } - + else switch(keypressed){ case SDLK_RETURN: if (!firstcheck) { firstcheck = 1; break; }