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
b9a61cde
Commit
b9a61cde
authored
Jul 12, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Use CRT allocation functions.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
24c900b9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
d3d10_private.h
dlls/d3d10/d3d10_private.h
+0
-1
effect.c
dlls/d3d10/effect.c
+0
-0
stateblock.c
dlls/d3d10/stateblock.c
+2
-2
No files found.
dlls/d3d10/d3d10_private.h
View file @
b9a61cde
...
...
@@ -24,7 +24,6 @@
#include "wine/debug.h"
#include "wine/rbtree.h"
#include "wine/heap.h"
#define COBJMACROS
#include "winbase.h"
...
...
dlls/d3d10/effect.c
View file @
b9a61cde
This diff is collapsed.
Click to expand it.
dlls/d3d10/stateblock.c
View file @
b9a61cde
...
...
@@ -310,7 +310,7 @@ static ULONG STDMETHODCALLTYPE d3d10_stateblock_Release(ID3D10StateBlock *iface)
{
stateblock_cleanup
(
stateblock
);
ID3D10Device_Release
(
stateblock
->
device
);
heap_
free
(
stateblock
);
free
(
stateblock
);
}
return
refcount
;
...
...
@@ -557,7 +557,7 @@ HRESULT WINAPI D3D10CreateStateBlock(ID3D10Device *device,
TRACE
(
"device %p, mask %p, stateblock %p.
\n
"
,
device
,
mask
,
stateblock
);
if
(
!
(
object
=
heap_alloc_zero
(
sizeof
(
*
object
))))
if
(
!
(
object
=
calloc
(
1
,
sizeof
(
*
object
))))
{
ERR
(
"Failed to allocate D3D10 stateblock object memory.
\n
"
);
return
E_OUTOFMEMORY
;
...
...
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