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
7478d9c4
Commit
7478d9c4
authored
Jan 16, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
22edaaef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ddrawmodes.c
dlls/ddraw/tests/ddrawmodes.c
+3
-3
No files found.
dlls/ddraw/tests/ddrawmodes.c
View file @
7478d9c4
...
...
@@ -110,18 +110,18 @@ static HRESULT WINAPI enummodescallback(LPDDSURFACEDESC lpddsd, LPVOID lpContext
{
trace
(
"Width = %i, Height = %i, Refresh Rate = %i, Pitch = %i, flags =%02X
\r\n
"
,
lpddsd
->
dwWidth
,
lpddsd
->
dwHeight
,
U2
(
*
lpddsd
).
dwRefreshRate
,
lpddsd
->
lPitch
,
lpddsd
->
dwFlags
);
U2
(
*
lpddsd
).
dwRefreshRate
,
U1
(
*
lpddsd
).
lPitch
,
lpddsd
->
dwFlags
);
/* Check that the pitch is valid if applicable */
if
(
lpddsd
->
dwFlags
&
DDSD_PITCH
)
{
ok
(
lpddsd
->
lPitch
!=
0
,
"EnumDisplayModes callback with bad pitch
\n
"
);
ok
(
U1
(
*
lpddsd
).
lPitch
!=
0
,
"EnumDisplayModes callback with bad pitch
\n
"
);
}
/* Check that frequency is valid if applicable */
if
(
lpddsd
->
dwFlags
&
DDSD_REFRESHRATE
)
{
ok
(
lpddsd
->
dwRefreshRate
!=
0
,
"EnumDisplayModes callback with bad refresh rate
\n
"
);
ok
(
U2
(
*
lpddsd
).
dwRefreshRate
!=
0
,
"EnumDisplayModes callback with bad refresh rate
\n
"
);
}
adddisplaymode
(
lpddsd
);
...
...
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