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
73032be7
Commit
73032be7
authored
Jun 25, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
d7e75747
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
d3d.c
dlls/ddraw/tests/d3d.c
+4
-4
dsurface.c
dlls/ddraw/tests/dsurface.c
+1
-1
No files found.
dlls/ddraw/tests/d3d.c
View file @
73032be7
...
...
@@ -93,10 +93,10 @@ static BOOL CreateDirect3D(void)
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_WIDTH
|
DDSD_HEIGHT
|
DDSD_PIXELFORMAT
;
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_ZBUFFER
;
ddsd
.
ddpfPixelFormat
.
dwSize
=
sizeof
(
ddsd
.
ddpfPixelFormat
);
ddsd
.
ddpfPixelFormat
.
dwFlags
=
DDPF_ZBUFFER
;
ddsd
.
ddpfPixelFormat
.
dwZBufferBitDepth
=
16
;
ddsd
.
ddpfPixelFormat
.
dwZBitMask
=
0x0000FFFF
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwSize
=
sizeof
(
U4
(
ddsd
)
.
ddpfPixelFormat
);
U4
(
ddsd
)
.
ddpfPixelFormat
.
dwFlags
=
DDPF_ZBUFFER
;
U1
(
U4
(
ddsd
).
ddpfPixelFormat
)
.
dwZBufferBitDepth
=
16
;
U3
(
U4
(
ddsd
).
ddpfPixelFormat
)
.
dwZBitMask
=
0x0000FFFF
;
ddsd
.
dwWidth
=
256
;
ddsd
.
dwHeight
=
256
;
rc
=
IDirectDraw7_CreateSurface
(
lpDD
,
&
ddsd
,
&
lpDDSdepth
,
NULL
);
...
...
dlls/ddraw/tests/dsurface.c
View file @
73032be7
...
...
@@ -2259,7 +2259,7 @@ static void BltParamTest(void)
/* Blt(non-fast) tests */
memset
(
&
BltFx
,
0
,
sizeof
(
BltFx
));
BltFx
.
dwSize
=
sizeof
(
BltFx
);
BltFx
.
dwFillColor
=
0xaabbccdd
;
U5
(
BltFx
)
.
dwFillColor
=
0xaabbccdd
;
hr
=
IDirectDrawSurface_Blt
(
surface1
,
&
valid
,
NULL
,
NULL
,
DDBLT_COLORFILL
,
&
BltFx
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface_Blt with a valid rectangle for color fill returned %08x
\n
"
,
hr
);
...
...
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