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
35f2e91f
Commit
35f2e91f
authored
Sep 22, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Use the variable instead of the type in sizeof().
parent
6e0d056e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
visual.c
dlls/ddraw/tests/visual.c
+10
-10
No files found.
dlls/ddraw/tests/visual.c
View file @
35f2e91f
...
...
@@ -1485,8 +1485,8 @@ static void D3D1_TextureMapBlendTest(void)
trace
(
"IDirect3DExecuteBuffer_Unlock failed with %08x
\n
"
,
hr
);
}
memset
(
&
exdata
,
0
,
sizeof
(
D3DEXECUTEDATA
));
exdata
.
dwSize
=
sizeof
(
D3DEXECUTEDATA
);
memset
(
&
exdata
,
0
,
sizeof
(
exdata
));
exdata
.
dwSize
=
sizeof
(
exdata
);
exdata
.
dwVertexCount
=
8
;
exdata
.
dwInstructionOffset
=
sizeof
(
test1_quads
);
exdata
.
dwInstructionLength
=
exe_length
;
...
...
@@ -1606,8 +1606,8 @@ static void D3D1_TextureMapBlendTest(void)
trace
(
"IDirect3DExecuteBuffer_Unlock failed with %08x
\n
"
,
hr
);
}
memset
(
&
exdata
,
0
,
sizeof
(
D3DEXECUTEDATA
));
exdata
.
dwSize
=
sizeof
(
D3DEXECUTEDATA
);
memset
(
&
exdata
,
0
,
sizeof
(
exdata
));
exdata
.
dwSize
=
sizeof
(
exdata
);
exdata
.
dwVertexCount
=
8
;
exdata
.
dwInstructionOffset
=
sizeof
(
test1_quads
);
exdata
.
dwInstructionLength
=
exe_length
;
...
...
@@ -1728,8 +1728,8 @@ static void D3D1_TextureMapBlendTest(void)
trace
(
"IDirect3DExecuteBuffer_Unlock failed with %08x
\n
"
,
hr
);
}
memset
(
&
exdata
,
0
,
sizeof
(
D3DEXECUTEDATA
));
exdata
.
dwSize
=
sizeof
(
D3DEXECUTEDATA
);
memset
(
&
exdata
,
0
,
sizeof
(
exdata
));
exdata
.
dwSize
=
sizeof
(
exdata
);
exdata
.
dwVertexCount
=
8
;
exdata
.
dwInstructionOffset
=
sizeof
(
test2_quads
);
exdata
.
dwInstructionLength
=
exe_length
;
...
...
@@ -1854,8 +1854,8 @@ static void D3D1_TextureMapBlendTest(void)
trace
(
"IDirect3DExecuteBuffer_Unlock failed with %08x
\n
"
,
hr
);
}
memset
(
&
exdata
,
0
,
sizeof
(
D3DEXECUTEDATA
));
exdata
.
dwSize
=
sizeof
(
D3DEXECUTEDATA
);
memset
(
&
exdata
,
0
,
sizeof
(
exdata
));
exdata
.
dwSize
=
sizeof
(
exdata
);
exdata
.
dwVertexCount
=
8
;
exdata
.
dwInstructionOffset
=
sizeof
(
test1_quads
);
exdata
.
dwInstructionLength
=
exe_length
;
...
...
@@ -1992,8 +1992,8 @@ static void D3D1_TextureMapBlendTest(void)
trace
(
"IDirect3DExecuteBuffer_Unlock failed with %08x
\n
"
,
hr
);
}
memset
(
&
exdata
,
0
,
sizeof
(
D3DEXECUTEDATA
));
exdata
.
dwSize
=
sizeof
(
D3DEXECUTEDATA
);
memset
(
&
exdata
,
0
,
sizeof
(
exdata
));
exdata
.
dwSize
=
sizeof
(
exdata
);
exdata
.
dwVertexCount
=
8
;
exdata
.
dwInstructionOffset
=
sizeof
(
test1_quads
);
exdata
.
dwInstructionLength
=
exe_length
;
...
...
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