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
15b6ff20
Commit
15b6ff20
authored
Sep 12, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
51e71734
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+4
-4
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+4
-4
No files found.
dlls/ddraw/tests/ddraw4.c
View file @
15b6ff20
...
...
@@ -4063,9 +4063,9 @@ static void test_block_formats_creation(void)
ddsd
.
dwFlags
=
DDSD_PIXELFORMAT
|
DDSD_WIDTH
|
DDSD_HEIGHT
|
DDSD_CAPS
;
ddsd
.
ddsCaps
.
dwCaps
=
types
[
j
].
caps
;
ddsd
.
ddsCaps
.
dwCaps2
=
types
[
j
].
caps2
;
ddsd
.
ddpfPixelFormat
.
dwSize
=
sizeof
(
ddsd
.
ddpfPixelFormat
);
ddsd
.
ddpfPixelFormat
.
dwFlags
=
DDPF_FOURCC
;
ddsd
.
ddpfPixelFormat
.
dwFourCC
=
formats
[
i
].
fourcc
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwSize
=
sizeof
(
U4
(
ddsd
)
.
ddpfPixelFormat
);
U4
(
ddsd
)
.
ddpfPixelFormat
.
dwFlags
=
DDPF_FOURCC
;
U4
(
ddsd
)
.
ddpfPixelFormat
.
dwFourCC
=
formats
[
i
].
fourcc
;
ddsd
.
dwWidth
=
w
;
ddsd
.
dwHeight
=
h
;
...
...
@@ -4189,7 +4189,7 @@ static void test_unsupported_formats(void)
memset
(
&
ddsd
,
0
,
sizeof
(
ddsd
));
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_WIDTH
|
DDSD_HEIGHT
|
DDSD_PIXELFORMAT
;
ddsd
.
ddpfPixelFormat
=
formats
[
i
].
fmt
;
U4
(
ddsd
)
.
ddpfPixelFormat
=
formats
[
i
].
fmt
;
ddsd
.
dwWidth
=
4
;
ddsd
.
dwHeight
=
4
;
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
caps
[
j
];
...
...
dlls/ddraw/tests/ddraw7.c
View file @
15b6ff20
...
...
@@ -3876,9 +3876,9 @@ static void test_block_formats_creation(void)
ddsd
.
dwFlags
=
DDSD_PIXELFORMAT
|
DDSD_WIDTH
|
DDSD_HEIGHT
|
DDSD_CAPS
;
ddsd
.
ddsCaps
.
dwCaps
=
types
[
j
].
caps
;
ddsd
.
ddsCaps
.
dwCaps2
=
types
[
j
].
caps2
;
ddsd
.
ddpfPixelFormat
.
dwSize
=
sizeof
(
ddsd
.
ddpfPixelFormat
);
ddsd
.
ddpfPixelFormat
.
dwFlags
=
DDPF_FOURCC
;
ddsd
.
ddpfPixelFormat
.
dwFourCC
=
formats
[
i
].
fourcc
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwSize
=
sizeof
(
U4
(
ddsd
)
.
ddpfPixelFormat
);
U4
(
ddsd
)
.
ddpfPixelFormat
.
dwFlags
=
DDPF_FOURCC
;
U4
(
ddsd
)
.
ddpfPixelFormat
.
dwFourCC
=
formats
[
i
].
fourcc
;
ddsd
.
dwWidth
=
w
;
ddsd
.
dwHeight
=
h
;
...
...
@@ -4002,7 +4002,7 @@ static void test_unsupported_formats(void)
memset
(
&
ddsd
,
0
,
sizeof
(
ddsd
));
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_WIDTH
|
DDSD_HEIGHT
|
DDSD_PIXELFORMAT
;
ddsd
.
ddpfPixelFormat
=
formats
[
i
].
fmt
;
U4
(
ddsd
)
.
ddpfPixelFormat
=
formats
[
i
].
fmt
;
ddsd
.
dwWidth
=
4
;
ddsd
.
dwHeight
=
4
;
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
caps
[
j
];
...
...
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