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
3a270375
Commit
3a270375
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_GetStreamSource.".
This reverts commit
16b1e046
.
parent
9dd81f64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
device.c
dlls/d3d8/device.c
+1
-0
device.c
dlls/d3d9/device.c
+1
-0
device.c
dlls/wined3d/device.c
+1
-0
No files found.
dlls/d3d8/device.c
View file @
3a270375
...
...
@@ -1487,6 +1487,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetStreamSource(LPDIRECT3DDEVICE8 ifa
rc
=
IWineD3DDevice_GetStreamSource
(
This
->
WineD3DDevice
,
StreamNumber
,
(
IWineD3DVertexBuffer
**
)
&
retStream
,
0
/* Offset in bytes */
,
pStride
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retStream
)
{
IWineD3DVertexBuffer_GetParent
(
retStream
,
(
IUnknown
**
)
pStream
);
IWineD3DVertexBuffer_Release
(
retStream
);
}
else
{
FIXME
(
"Call to GetStreamSource failed %p
\n
"
,
pStride
);
*
pStream
=
NULL
;
...
...
dlls/d3d9/device.c
View file @
3a270375
...
...
@@ -789,6 +789,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetStreamSource(LPDIRECT3DDEVICE9 iface, U
rc
=
IWineD3DDevice_GetStreamSource
(
This
->
WineD3DDevice
,
StreamNumber
,
(
IWineD3DVertexBuffer
**
)
&
retStream
,
OffsetInBytes
,
pStride
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retStream
)
{
IWineD3DVertexBuffer_GetParent
(
retStream
,
(
IUnknown
**
)
pStream
);
IWineD3DVertexBuffer_Release
(
retStream
);
}
else
{
FIXME
(
"Call to GetStreamSource failed %p %p
\n
"
,
OffsetInBytes
,
pStride
);
*
pStream
=
NULL
;
...
...
dlls/wined3d/device.c
View file @
3a270375
...
...
@@ -2467,6 +2467,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetStreamSource(IWineD3DDevice *iface,
return
WINED3DERR_INVALIDCALL
;
}
IWineD3DVertexBuffer_AddRef
(
*
pStream
);
/* We have created a new reference to the VB */
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