comparison libvo/vo_xvidix.c @ 4570:48fbc610e85a

fix color key handling bug
author pontscho
date Thu, 07 Feb 2002 17:42:37 +0000
parents 71b864031c3f
children 5fbfd8545c3b
comparison
equal deleted inserted replaced
4569:a3d1bfe82b74 4570:48fbc610e85a
171 window_x, window_y, window_width, window_height); 171 window_x, window_y, window_width, window_height);
172 172
173 /* mDrawColorKey: */ 173 /* mDrawColorKey: */
174 174
175 /* fill drawable with specified color */ 175 /* fill drawable with specified color */
176 XSetBackground( mDisplay,mGC,0 );
177 XClearWindow( mDisplay,mWindow );
176 XSetForeground(mDisplay, mGC, fgColor); 178 XSetForeground(mDisplay, mGC, fgColor);
177 XFillRectangle(mDisplay, mWindow, mGC, drwX, drwY, drwWidth, 179 XFillRectangle(mDisplay, mWindow, mGC, drwX, drwY, drwWidth,
178 (mFullscreen ? drwHeight - 1 : drwHeight)); 180 (mFullscreen ? drwHeight - 1 : drwHeight));
179 /* flush, update drawable */ 181 /* flush, update drawable */
180 XFlush(mDisplay); 182 XFlush(mDisplay);