summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index 508ba94e0a..3dc2ab584b 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -102,6 +102,9 @@ static XSetWindowAttributes xWAttribs;
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 );