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
274df6ef
Commit
274df6ef
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_GetTexture.
parent
18546a65
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
device.c
dlls/d3d8/device.c
+0
-1
device.c
dlls/d3d9/device.c
+0
-1
device.c
dlls/ddraw/device.c
+0
-1
device.c
dlls/wined3d/device.c
+0
-2
No files found.
dlls/d3d8/device.c
View file @
274df6ef
...
...
@@ -963,7 +963,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetTexture(LPDIRECT3DDEVICE8 iface, D
rc
=
IWineD3DDevice_GetTexture
(
This
->
WineD3DDevice
,
Stage
,
(
IWineD3DBaseTexture
**
)
&
retTexture
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retTexture
)
{
IWineD3DBaseTexture_GetParent
(
retTexture
,
(
IUnknown
**
)
ppTexture
);
IWineD3DBaseTexture_Release
(
retTexture
);
}
else
{
FIXME
(
"Call to get texture (%d) failed (%p)
\n
"
,
Stage
,
retTexture
);
*
ppTexture
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
274df6ef
...
...
@@ -595,7 +595,6 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetTexture(LPDIRECT3DDEVICE9 iface,
rc
=
IWineD3DDevice_GetTexture
(
This
->
WineD3DDevice
,
Stage
,
(
IWineD3DBaseTexture
**
)
&
retTexture
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retTexture
)
{
IWineD3DBaseTexture_GetParent
(
retTexture
,
(
IUnknown
**
)
ppTexture
);
IWineD3DBaseTexture_Release
(
retTexture
);
}
else
{
FIXME
(
"Call to get texture (%d) failed (%p)
\n
"
,
Stage
,
retTexture
);
*
ppTexture
=
NULL
;
...
...
dlls/ddraw/device.c
View file @
274df6ef
...
...
@@ -2130,7 +2130,6 @@ IDirect3DDeviceImpl_7_GetRenderState(IDirect3DDevice7 *iface,
*
Value
=
texImpl
->
Handle
;
IDirectDrawSurface7_Release
(
parent
);
}
IWineD3DBaseTexture_Release
(
tex
);
}
return
hr
;
}
...
...
dlls/wined3d/device.c
View file @
274df6ef
...
...
@@ -5827,8 +5827,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetTexture(IWineD3DDevice *iface, DWORD
return
WINED3DERR_INVALIDCALL
;
}
*
ppTexture
=
This
->
stateBlock
->
textures
[
Stage
];
if
(
*
ppTexture
)
IWineD3DBaseTexture_AddRef
(
*
ppTexture
);
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