Re: [7/8] d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions.

2012-05-10 Thread Józef Kucia
On Thu, May 10, 2012 at 11:16 AM, Stefan Dösinger wrote: > 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 m

Re: [7/8] d3dx9/tests: Add tests for compressed pixel formats support in D3DXLoadSurface functions.

2012-05-10 Thread Stefan Dösinger
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 li