[PATCH 1/1] d3dx9: Add tests for FVF <-> declaration conversion.
Alexandre Julliard
julliard at winehq.org
Wed Aug 18 10:53:15 CDT 2010
Misha Koshelev <misha680 at 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 at winehq.org
More information about the wine-devel
mailing list