D3D: Remove dependency on ddraw.h header

Stefan Dösinger stefandoesinger at gmx.at
Sat Apr 14 16:03:29 CDT 2007


This patch adds ddraw structures needed in wined3d to wined3d_types.h, 
simmilar for constants. Return values are either replaced by their wined3d 
equivalent(from name / wined3d usage), or new WINEDDERR_* values added. If a 
return value from wined3d is used which has a different value, ddraw does a 
switch - case on the return value and replaces the wined3d value with the 
ddraw equivalent.

I saw the patch became a bit huge :-/ . I thought its only the DDBLTFX 
structure and maybe one or 2 constants, but in the end it was much more. If 
needed, I can break it up into different patches, but that would basically 
mean to re-write it. The patch does not do any semantical change, its only 
renaming structures / constants and adding them to wined3d_types.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-D3D-Remove-dependency-on-ddraw.h-header-file.patch.bz2
Type: application/x-bzip2
Size: 13529 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070414/4f9eacd7/0003-D3D-Remove-dependency-on-ddraw.h-header-file.patch-0001.bin


More information about the wine-patches mailing list