changeset 5043:0700ce9958d2

Fixed default background color for proper color key usage
author nick
date Mon, 11 Mar 2002 08:48:06 +0000
parents 75e4f695f204
children 43dc579db3d1
files libvo/vo_xvidix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Mon Mar 11 08:42:07 2002 +0000
+++ b/libvo/vo_xvidix.c	Mon Mar 11 08:48:06 2002 +0000
@@ -296,7 +296,7 @@
         window_depth = 24;
     XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
 
-    xswa.background_pixel = BlackPixel(mDisplay, mScreen);
+    xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
     xswa.border_pixel     = 0;
     xswa.colormap         = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
 					    vinfo.visual, AllocNone);