Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
67ee1fab
Commit
67ee1fab
authored
Nov 21, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Remove unused functions (Clang).
parent
d83ae0ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
surface.c
dlls/d3dx9_36/tests/surface.c
+0
-14
No files found.
dlls/d3dx9_36/tests/surface.c
View file @
67ee1fab
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment