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
5c400871
Commit
5c400871
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_GetIndices.
parent
16b1e046
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
device.c
dlls/d3d8/device.c
+0
-1
device.c
dlls/d3d9/device.c
+0
-1
device.c
dlls/wined3d/device.c
+0
-2
No files found.
dlls/d3d8/device.c
View file @
5c400871
...
...
@@ -1311,7 +1311,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetIndices(LPDIRECT3DDEVICE8 iface, I
rc
=
IWineD3DDevice_GetIndices
(
This
->
WineD3DDevice
,
&
retIndexData
,
&
tmp
);
if
(
D3D_OK
==
rc
&&
NULL
!=
retIndexData
)
{
IWineD3DVertexBuffer_GetParent
(
retIndexData
,
(
IUnknown
**
)
ppIndexData
);
IWineD3DVertexBuffer_Release
(
retIndexData
);
}
else
{
if
(
rc
!=
D3D_OK
)
FIXME
(
"Call to GetIndices failed
\n
"
);
*
ppIndexData
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
5c400871
...
...
@@ -833,7 +833,6 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetIndices(LPDIRECT3DDEVICE9 iface,
rc
=
IWineD3DDevice_GetIndices
(
This
->
WineD3DDevice
,
&
retIndexData
,
&
tmp
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retIndexData
)
{
IWineD3DVertexBuffer_GetParent
(
retIndexData
,
(
IUnknown
**
)
ppIndexData
);
IWineD3DVertexBuffer_Release
(
retIndexData
);
}
else
{
if
(
rc
!=
D3D_OK
)
FIXME
(
"Call to GetIndices failed
\n
"
);
*
ppIndexData
=
NULL
;
...
...
dlls/wined3d/device.c
View file @
5c400871
...
...
@@ -3235,9 +3235,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetIndices(IWineD3DDevice *iface, IWine
*
ppIndexData
=
This
->
stateBlock
->
pIndexData
;
/* up ref count on ppindexdata */
if
(
*
ppIndexData
)
{
IWineD3DIndexBuffer_AddRef
(
*
ppIndexData
);
*
pBaseVertexIndex
=
This
->
stateBlock
->
baseVertexIndex
;
TRACE
(
"(%p) index data set to %p + %u
\n
"
,
This
,
ppIndexData
,
This
->
stateBlock
->
baseVertexIndex
);
}
else
{
...
...
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