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
4a1435aa
Commit
4a1435aa
authored
Mar 04, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
a170f762
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
visual.c
dlls/ddraw/tests/visual.c
+12
-12
No files found.
dlls/ddraw/tests/visual.c
View file @
4a1435aa
...
...
@@ -313,16 +313,16 @@ static void clear_test(IDirect3DDevice7 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice7_Clear failed with %08x
\n
"
,
hr
);
/* Positive x, negative y */
rect
[
0
]
.
x1
=
0
;
rect
[
0
]
.
y1
=
480
;
rect
[
0
]
.
x2
=
320
;
rect
[
0
]
.
y2
=
240
;
U1
(
rect
[
0
])
.
x1
=
0
;
U2
(
rect
[
0
])
.
y1
=
480
;
U3
(
rect
[
0
])
.
x2
=
320
;
U4
(
rect
[
0
])
.
y2
=
240
;
/* Positive x, positive y */
rect
[
1
]
.
x1
=
0
;
rect
[
1
]
.
y1
=
0
;
rect
[
1
]
.
x2
=
320
;
rect
[
1
]
.
y2
=
240
;
U1
(
rect
[
1
])
.
x1
=
0
;
U2
(
rect
[
1
])
.
y1
=
0
;
U3
(
rect
[
1
])
.
x2
=
320
;
U4
(
rect
[
1
])
.
y2
=
240
;
/* Clear 2 rectangles with one call. Shows that a positive value is returned, but the negative rectangle
* is ignored, the positive is still cleared afterwards
*/
...
...
@@ -330,10 +330,10 @@ static void clear_test(IDirect3DDevice7 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice7_Clear failed with %08x
\n
"
,
hr
);
/* negative x, negative y */
rect_negneg
.
x1
=
640
;
rect_negneg
.
x
1
=
240
;
rect_negneg
.
x2
=
320
;
rect_negneg
.
y2
=
0
;
U1
(
rect_negneg
)
.
x1
=
640
;
U2
(
rect_negneg
).
y
1
=
240
;
U3
(
rect_negneg
)
.
x2
=
320
;
U4
(
rect_negneg
)
.
y2
=
0
;
hr
=
IDirect3DDevice7_Clear
(
device
,
1
,
&
rect_negneg
,
D3DCLEAR_TARGET
,
0xff00ff00
,
0
.
0
,
0
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice7_Clear failed with %08x
\n
"
,
hr
);
...
...
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