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
bd072332
Commit
bd072332
authored
Nov 30, 2006
by
Markus Amsler
Committed by
Alexandre Julliard
Nov 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.".
This reverts commit
167b83c2
.
parent
f8e7ddd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
device.c
dlls/d3d8/device.c
+1
-0
device.c
dlls/d3d9/device.c
+1
-0
No files found.
dlls/d3d8/device.c
View file @
bd072332
...
...
@@ -139,6 +139,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetDirect3D(LPDIRECT3DDEVICE8 iface,
if
(
hr
==
D3D_OK
&&
pWineD3D
!=
NULL
)
{
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pWineD3D
,(
IUnknown
**
)
ppD3D8
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pWineD3D
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetDirect3D failed
\n
"
);
*
ppD3D8
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
bd072332
...
...
@@ -101,6 +101,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire
if
(
hr
==
D3D_OK
&&
pWineD3D
!=
NULL
)
{
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pWineD3D
,(
IUnknown
**
)
ppD3D9
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pWineD3D
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetDirect3D failed
\n
"
);
*
ppD3D9
=
NULL
;
...
...
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