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
9381f226
Commit
9381f226
authored
Mar 05, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Don't use 0xaa to avoid any confusion when running with +heap.
parent
508d58c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
d3d.c
dlls/ddraw/tests/d3d.c
+4
-4
No files found.
dlls/ddraw/tests/d3d.c
View file @
9381f226
...
@@ -1102,7 +1102,7 @@ static void Direct3D1Test(void)
...
@@ -1102,7 +1102,7 @@ static void Direct3D1Test(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_TransformVertices returned %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_TransformVertices returned %08x
\n
"
,
hr
);
transformdata
.
lpHOut
=
outH
;
transformdata
.
lpHOut
=
outH
;
memset
(
outH
,
0x
aa
,
sizeof
(
outH
));
memset
(
outH
,
0x
cc
,
sizeof
(
outH
));
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
&
transformdata
,
D3DTRANSFORM_UNCLIPPED
,
&
transformdata
,
D3DTRANSFORM_UNCLIPPED
,
&
i
);
&
i
);
...
@@ -1122,7 +1122,7 @@ static void Direct3D1Test(void)
...
@@ -1122,7 +1122,7 @@ static void Direct3D1Test(void)
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
}
for
(
i
=
0
;
i
<
sizeof
(
outH
);
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
(
outH
);
i
++
)
{
if
(((
unsigned
char
*
)
outH
)[
i
]
!=
0x
aa
)
{
if
(((
unsigned
char
*
)
outH
)[
i
]
!=
0x
cc
)
{
ok
(
FALSE
,
"Homogeneous output was generated despite UNCLIPPED flag
\n
"
);
ok
(
FALSE
,
"Homogeneous output was generated despite UNCLIPPED flag
\n
"
);
break
;
break
;
}
}
...
@@ -1180,7 +1180,7 @@ static void Direct3D1Test(void)
...
@@ -1180,7 +1180,7 @@ static void Direct3D1Test(void)
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
}
memset
(
out
,
0x
bb
,
sizeof
(
out
));
memset
(
out
,
0x
cc
,
sizeof
(
out
));
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
&
transformdata
,
D3DTRANSFORM_CLIPPED
,
&
transformdata
,
D3DTRANSFORM_CLIPPED
,
&
i
);
&
i
);
...
@@ -1217,7 +1217,7 @@ static void Direct3D1Test(void)
...
@@ -1217,7 +1217,7 @@ static void Direct3D1Test(void)
}
}
}
}
for
(
i
=
0
;
i
<
sizeof
(
out
)
/
sizeof
(
DWORD
);
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
(
out
)
/
sizeof
(
DWORD
);
i
++
)
{
ok
(((
DWORD
*
)
out
)[
i
]
!=
0x
bbbbbbbb
,
ok
(((
DWORD
*
)
out
)[
i
]
!=
0x
cccccccc
,
"Regular output DWORD %d remained untouched
\n
"
,
i
);
"Regular output DWORD %d remained untouched
\n
"
,
i
);
}
}
...
...
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