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
22acc5cb
Commit
22acc5cb
authored
May 09, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
May 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
40bdbda8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+4
-4
No files found.
dlls/ddraw/tests/ddraw7.c
View file @
22acc5cb
...
...
@@ -6688,19 +6688,19 @@ static void test_material(void)
ok
(
!
memcmp
(
&
U
(
material
).
diffuse
,
&
null_color
,
sizeof
(
null_color
)),
"Got unexpected diffuse color {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
U1
(
U
(
material
).
diffuse
).
r
,
U2
(
U
(
material
).
diffuse
).
g
,
U3
(
U
(
material
).
diffuse
).
b
,
U
3
(
U
(
material
).
diffuse
).
a
);
U3
(
U
(
material
).
diffuse
).
b
,
U
4
(
U
(
material
).
diffuse
).
a
);
ok
(
!
memcmp
(
&
U1
(
material
).
ambient
,
&
null_color
,
sizeof
(
null_color
)),
"Got unexpected ambient color {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
U1
(
U1
(
material
).
ambient
).
r
,
U2
(
U1
(
material
).
ambient
).
g
,
U3
(
U1
(
material
).
ambient
).
b
,
U
3
(
U1
(
material
).
ambient
).
a
);
U3
(
U1
(
material
).
ambient
).
b
,
U
4
(
U1
(
material
).
ambient
).
a
);
ok
(
!
memcmp
(
&
U2
(
material
).
specular
,
&
null_color
,
sizeof
(
null_color
)),
"Got unexpected specular color {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
U1
(
U2
(
material
).
specular
).
r
,
U2
(
U2
(
material
).
specular
).
g
,
U3
(
U2
(
material
).
specular
).
b
,
U
3
(
U2
(
material
).
specular
).
a
);
U3
(
U2
(
material
).
specular
).
b
,
U
4
(
U2
(
material
).
specular
).
a
);
ok
(
!
memcmp
(
&
U3
(
material
).
emissive
,
&
null_color
,
sizeof
(
null_color
)),
"Got unexpected emissive color {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
U1
(
U3
(
material
).
emissive
).
r
,
U2
(
U3
(
material
).
emissive
).
g
,
U3
(
U3
(
material
).
emissive
).
b
,
U
3
(
U3
(
material
).
emissive
).
a
);
U3
(
U3
(
material
).
emissive
).
b
,
U
4
(
U3
(
material
).
emissive
).
a
);
ok
(
U4
(
material
).
power
==
0
.
0
f
,
"Got unexpected power %.8e.
\n
"
,
U4
(
material
).
power
);
refcount
=
IDirect3DDevice7_Release
(
device
);
...
...
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