Commit 67ee1fab authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3dx9_36/tests: Remove unused functions (Clang).

parent d83ae0ef
......@@ -30,13 +30,6 @@ static inline int get_ref(IUnknown *obj)
return IUnknown_Release(obj);
}
#define check_ref(obj, exp) _check_ref(__LINE__, obj, exp)
static inline void _check_ref(unsigned int line, IUnknown *obj, int exp)
{
int ref = get_ref(obj);
ok_(__FILE__, line)(exp == ref, "Invalid refcount. Expected %d, got %d\n", exp, ref);
}
#define check_release(obj, exp) _check_release(__LINE__, obj, exp)
static inline void _check_release(unsigned int line, IUnknown *obj, int exp)
{
......@@ -608,13 +601,6 @@ static void test_D3DXGetImageInfo(void)
if(testbitmap_ok) DeleteFileA("testbitmap.bmp");
}
#define check_pixel_1bpp(lockrect, x, y, color) _check_pixel_1bpp(__LINE__, lockrect, x, y, color)
static inline void _check_pixel_1bpp(unsigned int line, const D3DLOCKED_RECT *lockrect, int x, int y, BYTE expected_color)
{
BYTE color = ((BYTE*)lockrect->pBits)[x + y * lockrect->Pitch];
ok_(__FILE__, line)(color == expected_color, "Got color 0x%02x, expected 0x%02x\n", color, expected_color);
}
#define check_pixel_2bpp(lockrect, x, y, color) _check_pixel_2bpp(__LINE__, lockrect, x, y, color)
static inline void _check_pixel_2bpp(unsigned int line, const D3DLOCKED_RECT *lockrect, int x, int y, WORD expected_color)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment