[2/2] d3dx9_36/tests: Add tests for D3DXCreatePolygon. (try 4)
Sebastian Lackner
sebastian at fds-team.de
Wed Nov 5 11:25:38 CST 2014
Changes in try 4:
* Use smaller buffer
* Fix typo
* Remove error checking & goto
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/tests/mesh.c | 155 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 155 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-d3dx9_36-tests-Add-tests-for-D3DXCreatePolygon.patch
Type: text/x-patch
Size: 5927 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141105/df64afcc/attachment.bin>
More information about the wine-patches
mailing list