summaryrefslogtreecommitdiffstats
path: root/libvo/vo_sdl.c
diff options
context:
space:
mode:
authoratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-11 20:11:21 +0000
committeratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-11 20:11:21 +0000
commit105f573b67bafd539301147417935def0402ee45 (patch)
treef47beb654c178e9bc48908afc866e185f1663aad /libvo/vo_sdl.c
parenta4d677be664f1bab735d93f57e357f2973599a53 (diff)
downloadmpv-105f573b67bafd539301147417935def0402ee45.tar.bz2
mpv-105f573b67bafd539301147417935def0402ee45.tar.xz
- small bugfixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r--libvo/vo_sdl.c8
1 files 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++;