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
67307a9c
Commit
67307a9c
authored
Jun 29, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
f191f26c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+1
-1
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+1
-1
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+1
-1
No files found.
dlls/ddraw/tests/ddraw2.c
View file @
67307a9c
...
...
@@ -3320,7 +3320,7 @@ static void test_lighting_interface_versions(void)
memset
(
&
mat_desc
,
0
,
sizeof
(
mat_desc
));
mat_desc
.
dwSize
=
sizeof
(
mat_desc
);
mat_desc
.
dcvEmissive
.
g
=
1
.
0
f
;
U2
(
U3
(
mat_desc
).
dcvEmissive
)
.
g
=
1
.
0
f
;
hr
=
IDirect3D2_CreateMaterial
(
d3d
,
&
emissive
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"Failed to create material, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DMaterial2_SetMaterial
(
emissive
,
&
mat_desc
);
...
...
dlls/ddraw/tests/ddraw4.c
View file @
67307a9c
...
...
@@ -3633,7 +3633,7 @@ static void test_lighting_interface_versions(void)
memset
(
&
mat_desc
,
0
,
sizeof
(
mat_desc
));
mat_desc
.
dwSize
=
sizeof
(
mat_desc
);
mat_desc
.
dcvEmissive
.
g
=
1
.
0
f
;
U2
(
U3
(
mat_desc
).
dcvEmissive
)
.
g
=
1
.
0
f
;
hr
=
IDirect3D3_CreateMaterial
(
d3d
,
&
emissive
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"Failed to create material, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DMaterial3_SetMaterial
(
emissive
,
&
mat_desc
);
...
...
dlls/ddraw/tests/ddraw7.c
View file @
67307a9c
...
...
@@ -3448,7 +3448,7 @@ static void test_lighting_interface_versions(void)
ok
(
SUCCEEDED
(
hr
),
"Failed to get render target, hr %#x.
\n
"
,
hr
);
memset
(
&
material
,
0
,
sizeof
(
material
));
material
.
emissive
.
g
=
1
.
0
f
;
U2
(
U3
(
material
).
emissive
)
.
g
=
1
.
0
f
;
hr
=
IDirect3DDevice7_SetMaterial
(
device
,
&
material
);
ok
(
SUCCEEDED
(
hr
),
"Failed set material, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice7_SetRenderState
(
device
,
D3DRENDERSTATE_ZENABLE
,
D3DZB_FALSE
);
...
...
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