[1/2] d3dx9_36: Implement D3DXCreatePolygon. (try 3)

Sebastian Lackner sebastian at fds-team.de
Tue Nov 4 12:56:54 CST 2014


Changes in try 3:
* Replace ~0 -> ~0U.

Changes in try 2:
* Lot of style cleanups - hopefully I didn't miss anything. 
* Fix condition for 'sides' argument (should be >= 3, not just != 0)
* Added test to check if *mesh is cleared on error - tests show that this is not the case.
  I only kept a single test for that to avoid making the test code too ugly.

Based on a patch by David Adam.
---
 dlls/d3dx9_36/d3dx9_36.spec |  2 +-
 dlls/d3dx9_36/mesh.c        | 88 +++++++++++++++++++++++++++++++++++++++++++++
 include/d3dx9shape.h        |  2 ++
 3 files changed, 91 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dx9_36-Implement-D3DXCreatePolygon.patch
Type: text/x-patch
Size: 4954 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141104/079e6e0e/attachment.bin>


More information about the wine-patches mailing list