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
a7518f6f
Commit
a7518f6f
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_GetRenderTarget.
parent
478a414e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
device.c
dlls/d3d8/device.c
+0
-1
device.c
dlls/d3d9/device.c
+0
-1
device.c
dlls/wined3d/device.c
+1
-3
No files found.
dlls/d3d8/device.c
View file @
a7518f6f
...
...
@@ -677,7 +677,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetRenderTarget(LPDIRECT3DDEVICE8 i
if
(
hr
==
D3D_OK
&&
pRenderTarget
!=
NULL
)
{
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pRenderTarget
,(
IUnknown
**
)
ppRenderTarget
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pRenderTarget
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetRenderTarget failed
\n
"
);
*
ppRenderTarget
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
a7518f6f
...
...
@@ -403,7 +403,6 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetRenderTarget(LPDIRECT3DDEVICE9 i
if
(
hr
==
D3D_OK
&&
pRenderTarget
!=
NULL
)
{
IWineD3DResource_GetParent
((
IWineD3DResource
*
)
pRenderTarget
,(
IUnknown
**
)
ppRenderTarget
);
IWineD3DResource_Release
((
IWineD3DResource
*
)
pRenderTarget
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetRenderTarget failed
\n
"
);
*
ppRenderTarget
=
NULL
;
...
...
dlls/wined3d/device.c
View file @
a7518f6f
...
...
@@ -6889,9 +6889,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetRenderTarget(IWineD3DDevice* iface
*
ppRenderTarget
=
This
->
renderTarget
;
TRACE
(
"(%p) : RenderTarget %d Index returning %p
\n
"
,
This
,
RenderTargetIndex
,
*
ppRenderTarget
);
/* Note inc ref on returned surface */
if
(
*
ppRenderTarget
!=
NULL
)
IWineD3DSurface_AddRef
(
*
ppRenderTarget
);
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