=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: d3dx9_36/tests: Remove unused functions (Clang).
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 25 12:54:01 CST 2014
Module: wine
Branch: master
Commit: 67ee1faba25ff943e221f426188f321ccc91e13a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=67ee1faba25ff943e221f426188f321ccc91e13a
Author: André Hentschel <nerv at dawncrow.de>
Date: Fri Nov 21 20:59:13 2014 +0100
d3dx9_36/tests: Remove unused functions (Clang).
---
dlls/d3dx9_36/tests/surface.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/dlls/d3dx9_36/tests/surface.c b/dlls/d3dx9_36/tests/surface.c
index 4490dc3..5846281 100644
--- a/dlls/d3dx9_36/tests/surface.c
+++ b/dlls/d3dx9_36/tests/surface.c
@@ -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)
{
More information about the wine-cvs
mailing list