changeset 4570:48fbc610e85a

fix color key handling bug
author pontscho
date Thu, 07 Feb 2002 17:42:37 +0000
parents a3d1bfe82b74
children e9928913a61d
files libvo/vo_xvidix.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Thu Feb 07 16:26:35 2002 +0000
+++ b/libvo/vo_xvidix.c	Thu Feb 07 17:42:37 2002 +0000
@@ -173,6 +173,8 @@
     /* mDrawColorKey: */
 
     /* fill drawable with specified color */
+    XSetBackground( mDisplay,mGC,0 );
+    XClearWindow( mDisplay,mWindow );
     XSetForeground(mDisplay, mGC, fgColor);
     XFillRectangle(mDisplay, mWindow, mGC, drwX, drwY, drwWidth,
 	(mFullscreen ? drwHeight - 1 : drwHeight));