Re: [2/2] d3dx9_36/tests: Add tests for D3DXCreatePolygon. (try 4)
5 Nov
2014
5 Nov
'14
5:42 p.m.
2014-11-05 18:25 GMT+01:00 Sebastian Lackner <sebastian(a)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.
4145
Age (days ago)
4145
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni