From ff05d203b2b7ef476419df6fdf5de83a3be4b391 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 23 Nov 2008 20:19:06 +0000 Subject: [PATCH] Remove some usnused variables and commented-out code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28007 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_x11.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index f34b79b37b..37a10bfee5 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -306,7 +306,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, // int interval, prefer_blank, allow_exp, nothing; unsigned int fg, bg; - XGCValues xgcv; Colormap theCmap; XSetWindowAttributes xswa; unsigned long xswamask; @@ -315,7 +314,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, #ifdef CONFIG_XF86VM int vm = flags & VOFLAG_MODESWITCHING; #endif - int fullscreen = flags & (VOFLAG_FULLSCREEN|VOFLAG_MODESWITCHING); Flip_Flag = flags & VOFLAG_FLIPPING; zoomFlag = flags & VOFLAG_SWSCALE; @@ -330,10 +328,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, srcW = width; srcH = height; -// if(!fullscreen) zoomFlag=1; //it makes no sense to avoid zooming on windowd mode - -//printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight ); - XGetWindowAttributes(mDisplay, mRootWin, &attribs); depth = attribs.depth;