From 105f573b67bafd539301147417935def0402ee45 Mon Sep 17 00:00:00 2001 From: atmosfear Date: Wed, 11 Apr 2001 20:11:21 +0000 Subject: [PATCH] - small bugfixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@358 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 6ac13c9e1b..250dd8630c 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -351,7 +351,7 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3 //static int sdl_setup (int width, int height) { struct sdl_priv_s *priv = &sdl_priv; - unsigned int sdl_format, mode; + unsigned int sdl_format; switch(format){ @@ -389,10 +389,6 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3 case 0x01: case 0x05: printf("SDL: setting zoomed fullscreen without modeswitching\n"); - //priv->fullmodes[mode]->w - /*priv->fullmode++; - if (priv->fullmode > (findArrayEnd(priv->fullmodes) - 1)) priv->fullmode = 0; - set_fullmode(priv->fullmode);*/ priv->windowsize.w = d_width; priv->windowsize.h = d_height; if(priv->surface = SDL_SetVideoMode (d_width, d_height, priv->bpp, priv->sdlfullflags)) @@ -583,7 +579,7 @@ static void check_events (void) case SDL_KEYUP: keypressed = event.key.keysym.sym; - /* c key pressed. plus cycles through available fullscreenmodes, if we have some */ + /* c key pressed. c cycles through available fullscreenmodes, if we have some */ if ( ((keypressed == SDLK_c)) && (priv->fullmodes) ) { /* select next fullscreen mode */ priv->fullmode++;