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
189603a9
Commit
189603a9
authored
Jun 11, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix a few typos.
parent
c81c11f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
device.c
dlls/d3d9/tests/device.c
+15
-15
No files found.
dlls/d3d9/tests/device.c
View file @
189603a9
...
...
@@ -787,11 +787,11 @@ static void test_reset(void)
if
(
SUCCEEDED
(
hr
))
{
ok
(
vp
.
X
==
0
,
"D3DVIEWPORT->X = %d
\n
"
,
vp
.
X
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
800
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
600
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
Y
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
800
,
"D3DVIEWPORT->
Width
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
600
,
"D3DVIEWPORT->
Height
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
MinZ = %f
\n
"
,
vp
.
MinZ
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
MaxZ = %f
\n
"
,
vp
.
MaxZ
);
}
vp
.
X
=
10
;
vp
.
X
=
20
;
...
...
@@ -817,11 +817,11 @@ static void test_reset(void)
if
(
SUCCEEDED
(
hr
))
{
ok
(
vp
.
X
==
0
,
"D3DVIEWPORT->X = %d
\n
"
,
vp
.
X
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
640
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
480
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
Y
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
640
,
"D3DVIEWPORT->
Width
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
480
,
"D3DVIEWPORT->
Height
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
MinZ = %f
\n
"
,
vp
.
MinZ
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
MaxZ = %f
\n
"
,
vp
.
MaxZ
);
}
width
=
GetSystemMetrics
(
SM_CXSCREEN
);
...
...
@@ -865,11 +865,11 @@ static void test_reset(void)
if
(
SUCCEEDED
(
hr
))
{
ok
(
vp
.
X
==
0
,
"D3DVIEWPORT->X = %d
\n
"
,
vp
.
X
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
400
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
300
,
"D3DVIEWPORT->
X
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
X = %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
Y
==
0
,
"D3DVIEWPORT->
Y
= %d
\n
"
,
vp
.
Y
);
ok
(
vp
.
Width
==
400
,
"D3DVIEWPORT->
Width
= %d
\n
"
,
vp
.
Width
);
ok
(
vp
.
Height
==
300
,
"D3DVIEWPORT->
Height
= %d
\n
"
,
vp
.
Height
);
ok
(
vp
.
MinZ
==
0
,
"D3DVIEWPORT->
MinZ = %f
\n
"
,
vp
.
MinZ
);
ok
(
vp
.
MaxZ
==
1
,
"D3DVIEWPORT->
MaxZ = %f
\n
"
,
vp
.
MaxZ
);
}
hr
=
IDirect3DDevice9_GetSwapChain
(
pDevice
,
0
,
&
pSwapchain
);
...
...
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