comparison libvo/vo_sdl.c @ 1509:f9beae70c5c2

Removed D key for doublesize, already clobbered by framedrop.
author atmos4
date Tue, 14 Aug 2001 08:18:52 +0000
parents d40f2b686846
children 381ff166925c
comparison
equal deleted inserted replaced
1508:6e752419c7e8 1509:f9beae70c5c2
1087 if (priv->surface->w != priv->width || priv->surface->h != priv->height) { 1087 if (priv->surface->w != priv->width || priv->surface->h != priv->height) {
1088 priv->surface = SDL_SetVideoMode(priv->width, priv->height, priv->bpp, priv->sdlflags); 1088 priv->surface = SDL_SetVideoMode(priv->width, priv->height, priv->bpp, priv->sdlflags);
1089 priv->windowsize.w = priv->surface->w; 1089 priv->windowsize.w = priv->surface->w;
1090 priv->windowsize.h = priv->surface->h; 1090 priv->windowsize.h = priv->surface->h;
1091 if(verbose > 1) printf("SDL: Normal size\n"); 1091 if(verbose > 1) printf("SDL: Normal size\n");
1092 } 1092 } else
1093 }
1094
1095 else if ( keypressed == SDLK_d ) {
1096 if (priv->surface->w != priv->width * 2 || priv->surface->h != priv->height * 2) { 1093 if (priv->surface->w != priv->width * 2 || priv->surface->h != priv->height * 2) {
1097 priv->surface = SDL_SetVideoMode(priv->width * 2, priv->height * 2, priv->bpp, priv->sdlflags); 1094 priv->surface = SDL_SetVideoMode(priv->width * 2, priv->height * 2, priv->bpp, priv->sdlflags);
1098 priv->windowsize.w = priv->surface->w; 1095 priv->windowsize.w = priv->surface->w;
1099 priv->windowsize.h = priv->surface->h; 1096 priv->windowsize.h = priv->surface->h;
1100 if(verbose > 1) printf("SDL: Double size\n"); 1097 if(verbose > 1) printf("SDL: Double size\n");
1101 } 1098 }
1102 } 1099 }
1103 1100
1104 else switch(keypressed){ 1101 else switch(keypressed){
1105 case SDLK_RETURN: 1102 case SDLK_RETURN:
1106 if (!firstcheck) { firstcheck = 1; break; } 1103 if (!firstcheck) { firstcheck = 1; break; }
1107 case SDLK_ESCAPE: 1104 case SDLK_ESCAPE:
1108 case SDLK_q: 1105 case SDLK_q: