[7/8] d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions.
stefandoesinger at gmx.at
Thu May 10 04:16:20 CDT 2012
Am Mittwoch, 9. Mai 2012, 23:32:10 schrieb Józef Kucia:
> +#define check_pixel_3bpp(lockrect, x, y, color) \
> +ok(((BYTE*)(lockrect).pBits)[3 * (x) + (y) * (lockrect).Pitch + 0] ==
Inline functions are generally prefered over macros where possible. I think it
is possible to pass a different line number to ok() to make the messages more
useful when they are called from a helper function, but I don't know how off
the top of my head. If you have to use a macro, please use capital letters.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the wine-devel