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
0cc1c22d
Commit
0cc1c22d
authored
Oct 01, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
adb8fb11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ddraw1.c
dlls/ddraw/tests/ddraw1.c
+1
-1
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+2
-2
No files found.
dlls/ddraw/tests/ddraw1.c
View file @
0cc1c22d
...
@@ -3245,7 +3245,7 @@ static void test_rt_caps(void)
...
@@ -3245,7 +3245,7 @@ static void test_rt_caps(void)
if
(
test_data
[
i
].
pf
)
if
(
test_data
[
i
].
pf
)
{
{
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
U4
(
surface_desc
)
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
surface_desc
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
}
}
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
{
{
...
...
dlls/ddraw/tests/ddraw2.c
View file @
0cc1c22d
...
@@ -3850,7 +3850,7 @@ static void test_rt_caps(void)
...
@@ -3850,7 +3850,7 @@ static void test_rt_caps(void)
if
(
test_data
[
i
].
pf
)
if
(
test_data
[
i
].
pf
)
{
{
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
U4
(
surface_desc
)
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
surface_desc
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
}
}
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
{
{
...
@@ -3905,7 +3905,7 @@ static void test_rt_caps(void)
...
@@ -3905,7 +3905,7 @@ static void test_rt_caps(void)
if
(
test_data
[
i
].
pf
)
if
(
test_data
[
i
].
pf
)
{
{
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
surface_desc
.
dwFlags
|=
DDSD_PIXELFORMAT
;
U4
(
surface_desc
)
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
surface_desc
.
ddpfPixelFormat
=
*
test_data
[
i
].
pf
;
}
}
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
if
(
test_data
[
i
].
caps_in
&
DDSCAPS_ZBUFFER
)
{
{
...
...
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