# HG changeset patch # User reimar # Date 1227471546 0 # Node ID 1c526711983d3a063e23082d878c578740d1b1f9 # Parent f7b92cea7436ac7c450e881475cf85a311fb7d07 Remove some usnused variables and commented-out code. diff -r f7b92cea7436 -r 1c526711983d libvo/vo_x11.c --- a/libvo/vo_x11.c Sun Nov 23 20:17:46 2008 +0000 +++ b/libvo/vo_x11.c Sun Nov 23 20:19:06 2008 +0000 @@ -306,7 +306,6 @@ // int interval, prefer_blank, allow_exp, nothing; unsigned int fg, bg; - XGCValues xgcv; Colormap theCmap; XSetWindowAttributes xswa; unsigned long xswamask; @@ -315,7 +314,6 @@ #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 @@ 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;