WineD3D: Allow the inclusion of the wined3d headers when the ddraw headers are included

Alexandre Julliard julliard at
Fri Apr 7 13:03:21 CDT 2006

Stefan Dösinger <stefandoesinger at> writes:

>> Alexandre, if you think
>> that it should be in the wined3d headers, you can add
>> #define MAKEFOURCC(a,b,c,d) ((a << 0) | (b << 8) | (c << 16) | (d << 24))
>> in line 169 in wined3d_interface.h, or ask me to send a patch for that.
> Forget about that, I forgot that wined3d_types is included before that line. 
> Attached is a patch which creates WINEMAKEFOURCC and uses this.

Windows has a MAKEFOURCC in ddraw.h too, probably you should use that

Alexandre Julliard
julliard at

More information about the wine-devel mailing list