Re: [PATCH 1/1] d3dx9: Add tests for FVF <-> declaration conversion.
18 Aug
2010
18 Aug
'10
3:53 p.m.
Misha Koshelev <misha680(a)gmail.com> writes:
+#define VDECL_CHECK(fcall) \ + if(fcall != S_OK) \ + trace(" Test failed on line #%d\n", __LINE__); + +#define VDECL_CHECK_FAIL(fcall) \ + if(fcall != E_FAIL) \ + trace(" Test failed on line #%d\n", __LINE__);
That's ugly. If the goal is to print the line number, you should pass it to the test function. -- Alexandre Julliard julliard(a)winehq.org
5602
Age (days ago)
5602
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard