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
05170942
Commit
05170942
authored
Dec 10, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
1f1fa1da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
visual.c
dlls/ddraw/tests/visual.c
+5
-5
No files found.
dlls/ddraw/tests/visual.c
View file @
05170942
...
@@ -633,11 +633,11 @@ static void alpha_test(IDirect3DDevice7 *device)
...
@@ -633,11 +633,11 @@ static void alpha_test(IDirect3DDevice7 *device)
ddsd
.
dwHeight
=
128
;
ddsd
.
dwHeight
=
128
;
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
DDSCAPS_3DDEVICE
;
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
DDSCAPS_3DDEVICE
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
|
DDPF_ALPHAPIXELS
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
|
DDPF_ALPHAPIXELS
;
U
4
(
ddsd
).
ddpfPixelFormat
.
dwRGBBitCount
=
32
;
U
1
(
U4
(
ddsd
).
ddpfPixelFormat
)
.
dwRGBBitCount
=
32
;
U
4
(
ddsd
).
ddpfPixelFormat
.
dwRGBAlphaBitMask
=
0xff00
0000
;
U
2
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwRBitMask
=
0x00ff
0000
;
U
4
(
ddsd
).
ddpfPixelFormat
.
dwRBitMask
=
0x00ff00
00
;
U
3
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwGBitMask
=
0x0000ff
00
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwGBitMask
=
0x0000ff00
;
U4
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwBBitMask
=
0x000000ff
;
U
4
(
ddsd
).
ddpfPixelFormat
.
dwBBitMask
=
0x000000ff
;
U
5
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwRGBAlphaBitMask
=
0xff000000
;
hr
=
IDirectDraw7_CreateSurface
(
DirectDraw
,
&
ddsd
,
&
offscreen
,
NULL
);
hr
=
IDirectDraw7_CreateSurface
(
DirectDraw
,
&
ddsd
,
&
offscreen
,
NULL
);
ok
(
hr
==
D3D_OK
,
"Creating the offscreen render target failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"Creating the offscreen render target failed, hr = %08x
\n
"
,
hr
);
if
(
!
offscreen
)
{
if
(
!
offscreen
)
{
...
...
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