[MPlayer-dev-eng] [PATCH] Fix DirectX compilation error

Ingo Brückl ib at wupperonline.de
Mon Oct 3 21:22:32 CEST 2011


Reimar Döffinger wrote on Mon, 3 Oct 2011 21:00:17 +0200:

> On Mon, Oct 03, 2011 at 03:55:43AM +0200, Ingo Brückl wrote:
>> In DirectX 8 and 9, member dwBackBufferCount is in an anonymous union.
>>
>> MinGW complains:
>>
>>   error: unknown field 'dwBackBufferCount' specified in initializer

> Huh? I've never had problems compiling it...
> What headers did you use? I never used the official Microsoft ones.

The DirectX stuff supplied with recent MinGW didn't work on my not quite
state-of-the-art Windows 98SE test partition, but a minimal DirectX 8 SDK
for MinGW I found out there works like a charm.

BTW, can you imagine a possible use for option sub_window in the Win32 GUI?

Ingo


More information about the MPlayer-dev-eng mailing list