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
18546a65
Commit
18546a65
authored
Nov 20, 2006
by
Markus Amsler
Committed by
Alexandre Julliard
Nov 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d: Remove AddRef from IWineD3DDevice_GetDepthStencilSurface.
parent
a7518f6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
device.c
dlls/d3d8/device.c
+0
-1
device.c
dlls/d3d9/device.c
+0
-1
device.c
dlls/wined3d/device.c
+0
-4
No files found.
dlls/d3d8/device.c
View file @
18546a65
...
...
@@ -698,7 +698,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetDepthStencilSurface(LPDIRECT3DDE
hr
=
IWineD3DDevice_GetDepthStencilSurface
(
This
->
WineD3DDevice
,
&
pZStencilSurface
);
if
(
hr
==
D3D_OK
&&
pZStencilSurface
!=
NULL
){
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pZStencilSurface
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetDepthStencilSurface failed
\n
"
);
*
ppZStencilSurface
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
18546a65
...
...
@@ -433,7 +433,6 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetDepthStencilSurface(LPDIRECT3DDE
hr
=
IWineD3DDevice_GetDepthStencilSurface
(
This
->
WineD3DDevice
,
&
pZStencilSurface
);
if
(
hr
==
D3D_OK
&&
pZStencilSurface
!=
NULL
){
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pZStencilSurface
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetRenderTarget failed
\n
"
);
*
ppZStencilSurface
=
NULL
;
...
...
dlls/wined3d/device.c
View file @
18546a65
...
...
@@ -6981,10 +6981,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetDepthStencilSurface(IWineD3DDevice
*
ppZStencilSurface
=
This
->
depthStencilBuffer
;
TRACE
(
"(%p) : zStencilSurface returning %p
\n
"
,
This
,
*
ppZStencilSurface
);
if
(
*
ppZStencilSurface
!=
NULL
)
{
/* Note inc ref on returned surface */
IWineD3DSurface_AddRef
(
*
ppZStencilSurface
);
}
return
WINED3D_OK
;
}
...
...
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