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
eab196b3
Commit
eab196b3
authored
Mar 26, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Remove trailing spaces in ok() calls.
parent
c68a8963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
d3d.c
dlls/ddraw/tests/d3d.c
+6
-6
No files found.
dlls/ddraw/tests/d3d.c
View file @
eab196b3
...
...
@@ -1560,8 +1560,8 @@ static void VertexBufferDescTest(void)
skip
(
"GetVertexBuffer Failed!
\n
"
);
ok
(
mem
.
desc2
.
dwSize
==
sizeof
(
D3DVERTEXBUFFERDESC
)
*
2
,
"Size returned from GetVertexBufferDesc does not match the value put in
\n
"
);
ok
(
mem
.
buffer
[
sizeof
(
D3DVERTEXBUFFERDESC
)]
==
0x12
,
"GetVertexBufferDesc cleared outside of the struct! (dwSize was double the size of the struct)
\n
"
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwNumVertices
==
desc
.
dwNumVertices
,
"dwNumVertices returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwNumVertices
,
desc
.
dwNumVertices
);
memset
(
mem
.
buffer
,
0x12
,
sizeof
(
mem
.
buffer
));
...
...
@@ -1571,8 +1571,8 @@ static void VertexBufferDescTest(void)
skip
(
"GetVertexBuffer Failed!
\n
"
);
ok
(
mem
.
desc2
.
dwSize
==
0
,
"Size returned from GetVertexBufferDesc does not match the value put in
\n
"
);
ok
(
mem
.
buffer
[
sizeof
(
D3DVERTEXBUFFERDESC
)]
==
0x12
,
"GetVertexBufferDesc cleared outside of the struct! (dwSize was 0)
\n
"
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwNumVertices
==
desc
.
dwNumVertices
,
"dwNumVertices returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwNumVertices
,
desc
.
dwNumVertices
);
memset
(
mem
.
buffer
,
0x12
,
sizeof
(
mem
.
buffer
));
...
...
@@ -1582,8 +1582,8 @@ static void VertexBufferDescTest(void)
skip
(
"GetVertexBuffer Failed!
\n
"
);
ok
(
mem
.
desc2
.
dwSize
==
sizeof
(
D3DVERTEXBUFFERDESC
),
"Size returned from GetVertexBufferDesc does not match the value put in
\n
"
);
ok
(
mem
.
buffer
[
sizeof
(
D3DVERTEXBUFFERDESC
)]
==
0x12
,
"GetVertexBufferDesc cleared outside of the struct! (dwSize was the size of the struct)
\n
"
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwCaps
==
desc
.
dwCaps
,
"dwCaps returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwCaps
,
desc
.
dwCaps
);
ok
(
mem
.
desc2
.
dwFVF
==
desc
.
dwFVF
,
"dwFVF returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwFVF
,
desc
.
dwFVF
);
ok
(
mem
.
desc2
.
dwNumVertices
==
desc
.
dwNumVertices
,
"dwNumVertices returned differs. Got %x, expected %x
\n
"
,
mem
.
desc2
.
dwNumVertices
,
desc
.
dwNumVertices
);
out:
...
...
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