changeset 4568:cc34a9ba42df

fs resize bug fix.
author pontscho
date Thu, 07 Feb 2002 16:15:08 +0000
parents a7f2c58a9ab1
children a3d1bfe82b74
files libvo/vo_xmga.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xmga.c	Thu Feb 07 15:29:15 2002 +0000
+++ b/libvo/vo_xmga.c	Thu Feb 07 16:15:08 2002 +0000
@@ -102,6 +102,9 @@
 
 static void mDrawColorKey( void )
 {
+ XSetBackground( mDisplay,mGC,0 );
+// XFillRectangle( mDisplay,mWindow,mGC,0,0,drwWidth,drwHeight );
+ XClearWindow( mDisplay,mWindow );
  XSetForeground( mDisplay,mGC,fgColor );
  XFillRectangle( mDisplay,mWindow,mGC,drwX,drwY,drwWidth,(mFullscreen?drwHeight - 1:drwHeight) );
  XFlush( mDisplay );