Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f272fb29
Commit
f272fb29
authored
May 19, 2011
by
Dylan Smith
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Correct ok messages to be consistent with their test.
parent
c3201a46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mesh.c
dlls/d3dx9_36/tests/mesh.c
+8
-8
No files found.
dlls/d3dx9_36/tests/mesh.c
View file @
f272fb29
...
...
@@ -143,8 +143,8 @@ static void compare_mesh(const char *name, ID3DXMesh *d3dxmesh, struct mesh *mes
ok
(
vertex_buffer_description
.
Type
==
D3DRTYPE_VERTEXBUFFER
,
"Test %s, result %x, expected %x (D3DRTYPE_VERTEXBUFFER)
\n
"
,
name
,
vertex_buffer_description
.
Type
,
D3DRTYPE_VERTEXBUFFER
);
ok
(
vertex_buffer_description
.
Usage
==
0
,
"Test %s, result %x, expected %x
\n
"
,
name
,
vertex_buffer_description
.
Usage
,
0
);
ok
(
vertex_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
DEFAULT
)
\n
"
,
name
,
vertex_buffer_description
.
Pool
,
D3DPOOL_
DEFAULT
);
ok
(
vertex_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
MANAGED
)
\n
"
,
name
,
vertex_buffer_description
.
Pool
,
D3DPOOL_
MANAGED
);
ok
(
vertex_buffer_description
.
FVF
==
mesh
->
fvf
,
"Test %s, result %x, expected %x
\n
"
,
name
,
vertex_buffer_description
.
FVF
,
mesh
->
fvf
);
if
(
mesh
->
fvf
==
0
)
...
...
@@ -212,8 +212,8 @@ static void compare_mesh(const char *name, ID3DXMesh *d3dxmesh, struct mesh *mes
ok
(
index_buffer_description
.
Type
==
D3DRTYPE_INDEXBUFFER
,
"Test %s, result %x, expected %x (D3DRTYPE_INDEXBUFFER)
\n
"
,
name
,
index_buffer_description
.
Type
,
D3DRTYPE_INDEXBUFFER
);
todo_wine
ok
(
index_buffer_description
.
Usage
==
0
,
"Test %s, result %x, expected %x
\n
"
,
name
,
index_buffer_description
.
Usage
,
0
);
ok
(
index_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
DEFAULT
)
\n
"
,
name
,
index_buffer_description
.
Pool
,
D3DPOOL_
DEFAULT
);
ok
(
index_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
MANAGED
)
\n
"
,
name
,
index_buffer_description
.
Pool
,
D3DPOOL_
MANAGED
);
expected
=
number_of_faces
*
sizeof
(
WORD
)
*
3
;
ok
(
index_buffer_description
.
Size
==
expected
,
"Test %s, result %x, expected %x
\n
"
,
name
,
index_buffer_description
.
Size
,
expected
);
...
...
@@ -2596,8 +2596,8 @@ static void compare_text_outline_mesh(const char *name, ID3DXMesh *d3dxmesh, str
ok
(
vertex_buffer_description
.
Type
==
D3DRTYPE_VERTEXBUFFER
,
"Test %s, result %x, expected %x (D3DRTYPE_VERTEXBUFFER)
\n
"
,
name
,
vertex_buffer_description
.
Type
,
D3DRTYPE_VERTEXBUFFER
);
ok
(
vertex_buffer_description
.
Usage
==
0
,
"Test %s, result %x, expected %x
\n
"
,
name
,
vertex_buffer_description
.
Usage
,
0
);
ok
(
vertex_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
DEFAULT
)
\n
"
,
name
,
vertex_buffer_description
.
Pool
,
D3DPOOL_
DEFAULT
);
ok
(
vertex_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
MANAGED
)
\n
"
,
name
,
vertex_buffer_description
.
Pool
,
D3DPOOL_
MANAGED
);
ok
(
vertex_buffer_description
.
FVF
==
mesh
->
fvf
,
"Test %s, result %x, expected %x
\n
"
,
name
,
vertex_buffer_description
.
FVF
,
mesh
->
fvf
);
if
(
mesh
->
fvf
==
0
)
...
...
@@ -2634,8 +2634,8 @@ static void compare_text_outline_mesh(const char *name, ID3DXMesh *d3dxmesh, str
ok
(
index_buffer_description
.
Type
==
D3DRTYPE_INDEXBUFFER
,
"Test %s, result %x, expected %x (D3DRTYPE_INDEXBUFFER)
\n
"
,
name
,
index_buffer_description
.
Type
,
D3DRTYPE_INDEXBUFFER
);
todo_wine
ok
(
index_buffer_description
.
Usage
==
0
,
"Test %s, result %x, expected %x
\n
"
,
name
,
index_buffer_description
.
Usage
,
0
);
ok
(
index_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
DEFAULT
)
\n
"
,
name
,
index_buffer_description
.
Pool
,
D3DPOOL_
DEFAULT
);
ok
(
index_buffer_description
.
Pool
==
D3DPOOL_MANAGED
,
"Test %s, result %x, expected %x (D3DPOOL_
MANAGED
)
\n
"
,
name
,
index_buffer_description
.
Pool
,
D3DPOOL_
MANAGED
);
expected
=
number_of_faces
*
sizeof
(
WORD
)
*
3
;
ok
(
index_buffer_description
.
Size
==
expected
,
"Test %s, result %x, expected %x
\n
"
,
name
,
index_buffer_description
.
Size
,
expected
);
...
...
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