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
8ffad443
Commit
8ffad443
authored
Mar 10, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix compilation on systems that don't support nameless unions.
parent
ef5a4a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
visual.c
dlls/d3d9/tests/visual.c
+9
-9
No files found.
dlls/d3d9/tests/visual.c
View file @
8ffad443
...
...
@@ -7053,15 +7053,15 @@ static void pointsize_test(IDirect3DDevice9 *device)
};
/* Transforms the coordinate system [-1.0;1.0]x[-1.0;1.0] to [0.0;0.0]x[640.0;480.0]. Z is untouched */
matrix
.
m
[
0
][
0
]
=
2
.
0
/
640
.
0
;
matrix
.
m
[
1
][
0
]
=
0
.
0
;
matrix
.
m
[
2
][
0
]
=
0
.
0
;
matrix
.
m
[
3
][
0
]
=-
1
.
0
;
matrix
.
m
[
0
][
1
]
=
0
.
0
;
matrix
.
m
[
1
][
1
]
=-
2
.
0
/
480
.
0
;
matrix
.
m
[
2
][
1
]
=
0
.
0
;
matrix
.
m
[
3
][
1
]
=
1
.
0
;
matrix
.
m
[
0
][
2
]
=
0
.
0
;
matrix
.
m
[
1
][
2
]
=
0
.
0
;
matrix
.
m
[
2
][
2
]
=
1
.
0
;
matrix
.
m
[
3
][
2
]
=
0
.
0
;
matrix
.
m
[
0
][
3
]
=
0
.
0
;
matrix
.
m
[
1
][
3
]
=
0
.
0
;
matrix
.
m
[
2
][
3
]
=
0
.
0
;
matrix
.
m
[
3
][
3
]
=
1
.
0
;
identity
.
m
[
0
][
0
]
=
1
.
0
;
identity
.
m
[
1
][
0
]
=
0
.
0
;
identity
.
m
[
2
][
0
]
=
0
.
0
;
identity
.
m
[
3
][
0
]
=
0
.
0
;
identity
.
m
[
0
][
1
]
=
0
.
0
;
identity
.
m
[
1
][
1
]
=
1
.
0
;
identity
.
m
[
2
][
1
]
=
0
.
0
;
identity
.
m
[
3
][
1
]
=
0
.
0
;
identity
.
m
[
0
][
2
]
=
0
.
0
;
identity
.
m
[
1
][
2
]
=
0
.
0
;
identity
.
m
[
2
][
2
]
=
1
.
0
;
identity
.
m
[
3
][
2
]
=
0
.
0
;
identity
.
m
[
0
][
3
]
=
0
.
0
;
identity
.
m
[
1
][
3
]
=
0
.
0
;
identity
.
m
[
2
][
3
]
=
0
.
0
;
identity
.
m
[
3
][
3
]
=
1
.
0
;
U
(
matrix
).
m
[
0
][
0
]
=
2
.
0
/
640
.
0
;
U
(
matrix
).
m
[
1
][
0
]
=
0
.
0
;
U
(
matrix
).
m
[
2
][
0
]
=
0
.
0
;
U
(
matrix
)
.
m
[
3
][
0
]
=-
1
.
0
;
U
(
matrix
).
m
[
0
][
1
]
=
0
.
0
;
U
(
matrix
).
m
[
1
][
1
]
=-
2
.
0
/
480
.
0
;
U
(
matrix
).
m
[
2
][
1
]
=
0
.
0
;
U
(
matrix
)
.
m
[
3
][
1
]
=
1
.
0
;
U
(
matrix
).
m
[
0
][
2
]
=
0
.
0
;
U
(
matrix
).
m
[
1
][
2
]
=
0
.
0
;
U
(
matrix
).
m
[
2
][
2
]
=
1
.
0
;
U
(
matrix
)
.
m
[
3
][
2
]
=
0
.
0
;
U
(
matrix
).
m
[
0
][
3
]
=
0
.
0
;
U
(
matrix
).
m
[
1
][
3
]
=
0
.
0
;
U
(
matrix
).
m
[
2
][
3
]
=
0
.
0
;
U
(
matrix
)
.
m
[
3
][
3
]
=
1
.
0
;
U
(
identity
).
m
[
0
][
0
]
=
1
.
0
;
U
(
identity
).
m
[
1
][
0
]
=
0
.
0
;
U
(
identity
).
m
[
2
][
0
]
=
0
.
0
;
U
(
identity
)
.
m
[
3
][
0
]
=
0
.
0
;
U
(
identity
).
m
[
0
][
1
]
=
0
.
0
;
U
(
identity
).
m
[
1
][
1
]
=
1
.
0
;
U
(
identity
).
m
[
2
][
1
]
=
0
.
0
;
U
(
identity
)
.
m
[
3
][
1
]
=
0
.
0
;
U
(
identity
).
m
[
0
][
2
]
=
0
.
0
;
U
(
identity
).
m
[
1
][
2
]
=
0
.
0
;
U
(
identity
).
m
[
2
][
2
]
=
1
.
0
;
U
(
identity
)
.
m
[
3
][
2
]
=
0
.
0
;
U
(
identity
).
m
[
0
][
3
]
=
0
.
0
;
U
(
identity
).
m
[
1
][
3
]
=
0
.
0
;
U
(
identity
).
m
[
2
][
3
]
=
0
.
0
;
U
(
identity
)
.
m
[
3
][
3
]
=
1
.
0
;
memset
(
&
caps
,
0
,
sizeof
(
caps
));
hr
=
IDirect3DDevice9_GetDeviceCaps
(
device
,
&
caps
);
...
...
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