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
67a2751b
Commit
67a2751b
authored
Mar 09, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Remove redundant memset.
parent
db020d58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
executebuffer.c
dlls/ddraw/executebuffer.c
+0
-2
material.c
dlls/ddraw/material.c
+0
-1
No files found.
dlls/ddraw/executebuffer.c
View file @
67a2751b
...
...
@@ -703,7 +703,6 @@ IDirect3DExecuteBufferImpl_Lock(IDirect3DExecuteBuffer *iface,
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
lpDesc
);
dwSize
=
lpDesc
->
dwSize
;
memset
(
lpDesc
,
0
,
dwSize
);
memcpy
(
lpDesc
,
&
This
->
desc
,
dwSize
);
if
(
TRACE_ON
(
d3d7
))
{
...
...
@@ -789,7 +788,6 @@ IDirect3DExecuteBufferImpl_GetExecuteData(IDirect3DExecuteBuffer *iface,
TRACE
(
"(%p)->(%p): stub!
\n
"
,
This
,
lpData
);
dwSize
=
lpData
->
dwSize
;
memset
(
lpData
,
0
,
dwSize
);
memcpy
(
lpData
,
&
This
->
data
,
dwSize
);
if
(
TRACE_ON
(
d3d7
))
{
...
...
dlls/ddraw/material.c
View file @
67a2751b
...
...
@@ -294,7 +294,6 @@ IDirect3DMaterialImpl_GetMaterial(IDirect3DMaterial3 *iface,
/* Copies the material structure */
EnterCriticalSection
(
&
ddraw_cs
);
dwSize
=
lpMat
->
dwSize
;
memset
(
lpMat
,
0
,
dwSize
);
memcpy
(
lpMat
,
&
This
->
mat
,
dwSize
);
LeaveCriticalSection
(
&
ddraw_cs
);
...
...
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