changeset 357:681979d4031a

- small bugfixes
author atmosfear
date Wed, 11 Apr 2001 20:11:21 +0000
parents c39058295939
children 223439e2de87
files libvo/vo_sdl.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Wed Apr 11 20:08:27 2001 +0000
+++ b/libvo/vo_sdl.c	Wed Apr 11 20:11:21 2001 +0000
@@ -351,7 +351,7 @@
 //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 @@
 	  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 @@
 			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++;