From 90700b67a7626f4fc24903c716ae6c58ca3452b1 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 21 Dec 2004 20:31:39 +0000 Subject: added colorkey support for vo_directx. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14206 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvo/vo_directx.c') diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 850c41aec7..6811b2497e 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -79,6 +79,7 @@ extern int vo_directrendering; extern int vo_ontop; extern int vo_rootwin; extern int vidmode; +extern int vo_colorkey; /***************************************************************************** * DirectDraw GUIDs. @@ -978,6 +979,7 @@ static uint32_t preinit(const char *arg) monitor_rect.right=GetSystemMetrics(SM_CXSCREEN); monitor_rect.bottom=GetSystemMetrics(SM_CYSCREEN); + windowcolor = vo_colorkey; wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = WndProc; wc.cbClsExtra = 0; -- cgit v1.2.3