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
9006a013
Commit
9006a013
authored
Nov 15, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
749e2aa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+1
-1
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+1
-1
No files found.
dlls/ddraw/tests/ddraw4.c
View file @
9006a013
...
...
@@ -2497,7 +2497,7 @@ static HRESULT CALLBACK test_coop_level_mode_set_enum_cb(DDSURFACEDESC2 *surface
{
struct
test_coop_level_mode_set_enum_param
*
param
=
context
;
if
(
U1
(
U4
(
surface_desc
)
->
ddpfPixelFormat
).
dwRGBBitCount
!=
registry_mode
.
dmBitsPerPel
)
if
(
U1
(
U4
(
*
surface_desc
).
ddpfPixelFormat
).
dwRGBBitCount
!=
registry_mode
.
dmBitsPerPel
)
return
DDENUMRET_OK
;
if
(
surface_desc
->
dwWidth
==
registry_mode
.
dmPelsWidth
&&
surface_desc
->
dwHeight
==
registry_mode
.
dmPelsHeight
)
...
...
dlls/ddraw/tests/ddraw7.c
View file @
9006a013
...
...
@@ -2174,7 +2174,7 @@ static HRESULT CALLBACK test_coop_level_mode_set_enum_cb(DDSURFACEDESC2 *surface
{
struct
test_coop_level_mode_set_enum_param
*
param
=
context
;
if
(
U1
(
U4
(
surface_desc
)
->
ddpfPixelFormat
).
dwRGBBitCount
!=
registry_mode
.
dmBitsPerPel
)
if
(
U1
(
U4
(
*
surface_desc
).
ddpfPixelFormat
).
dwRGBBitCount
!=
registry_mode
.
dmBitsPerPel
)
return
DDENUMRET_OK
;
if
(
surface_desc
->
dwWidth
==
registry_mode
.
dmPelsWidth
&&
surface_desc
->
dwHeight
==
registry_mode
.
dmPelsHeight
)
...
...
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