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
8019c55c
Commit
8019c55c
authored
May 20, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
May 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
349abe99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
d3d.c
dlls/ddraw/tests/d3d.c
+13
-13
No files found.
dlls/ddraw/tests/d3d.c
View file @
8019c55c
...
...
@@ -1687,7 +1687,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -1750,7 +1750,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -1905,7 +1905,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -1960,7 +1960,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2117,7 +2117,7 @@ static void DeviceLoadTest()
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
DDSCAPS_COMPLEX
|
DDSCAPS_MIPMAP
;
ddsd
.
dwWidth
=
128
;
ddsd
.
dwHeight
=
128
;
ddsd
.
dwMipMapCount
=
i
?
4
:
8
;
U2
(
ddsd
)
.
dwMipMapCount
=
i
?
4
:
8
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwSize
=
sizeof
(
U4
(
ddsd
).
ddpfPixelFormat
);
U4
(
ddsd
).
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
;
U1
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwRGBBitCount
=
32
;
...
...
@@ -2154,7 +2154,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2200,7 +2200,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2317,7 +2317,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2371,7 +2371,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2400,7 +2400,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2452,7 +2452,7 @@ static void DeviceLoadTest()
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_TEXTURE
|
DDSCAPS_COMPLEX
|
DDSCAPS_MIPMAP
;
ddsd
.
dwWidth
=
i
?
32
:
128
;
ddsd
.
dwHeight
=
i
?
32
:
128
;
if
(
i
)
ddsd
.
dwMipMapCount
=
4
;
if
(
i
)
U2
(
ddsd
)
.
dwMipMapCount
=
4
;
U4
(
ddsd
).
ddpfPixelFormat
.
dwSize
=
sizeof
(
U4
(
ddsd
).
ddpfPixelFormat
);
U4
(
ddsd
).
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
;
U1
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwRGBBitCount
=
32
;
...
...
@@ -2489,7 +2489,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
@@ -2546,7 +2546,7 @@ static void DeviceLoadTest()
for
(
y
=
0
;
y
<
ddsd
.
dwHeight
;
y
++
)
{
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
ddsd
.
lPitch
);
DWORD
*
textureRow
=
(
DWORD
*
)((
char
*
)
ddsd
.
lpSurface
+
y
*
U1
(
ddsd
)
.
lPitch
);
for
(
x
=
0
;
x
<
ddsd
.
dwWidth
;
x
++
)
{
...
...
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