Commit 2e73e526 authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/directx/*: fixed overlay on 24bpp displays.
parent 26ede628
/*****************************************************************************
* vout.c: Windows DirectX video output display method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: directx.c,v 1.30 2003/12/23 02:11:27 gbazin Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: directx.c,v 1.31 2004/01/02 22:17:57 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -1662,10 +1662,7 @@ static DWORD DirectXFindColorkey( vout_thread_t *p_vout, uint32_t i_color )
case 16:
*(uint16_t *)ddsd.lpSurface = 0x01;
break;
case 24:
*(uint32_t *)ddsd.lpSurface = 0x0100;
break;
case 32:
default:
*(uint32_t *)ddsd.lpSurface = 0x01;
break;
}
......
/*****************************************************************************
* events.c: Windows DirectX video output events handler
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: events.c,v 1.36 2003/12/23 17:10:18 gbazin Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: events.c,v 1.37 2004/01/02 22:17:57 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......
/*****************************************************************************
* vout.h: Windows DirectX video output header file
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vout.h,v 1.11 2003/12/23 02:11:27 gbazin Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: vout.h,v 1.12 2004/01/02 22:17:57 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment