[2/2] d3dx9_36/tests: Add tests for D3DXCreatePolygon. (try 4)

Matteo Bruni matteo.mystral at gmail.com
Wed Nov 5 11:42:56 CST 2014


2014-11-05 18:25 GMT+01:00 Sebastian Lackner <sebastian at fds-team.de>:
> 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(+)

FWIW, series looks good to me.



More information about the wine-devel mailing list