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
44e6c6b6
Commit
44e6c6b6
authored
Dec 01, 2006
by
Markus Amsler
Committed by
Alexandre Julliard
Dec 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Use correct COM macros.
parent
61087377
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
device.c
dlls/d3d8/device.c
+8
-8
No files found.
dlls/d3d8/device.c
View file @
44e6c6b6
...
...
@@ -138,8 +138,8 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetDirect3D(LPDIRECT3DDEVICE8 iface,
hr
=
IWineD3DDevice_GetDirect3D
(
This
->
WineD3DDevice
,
&
pWineD3D
);
if
(
hr
==
D3D_OK
&&
pWineD3D
!=
NULL
)
{
IWineD3D
Resource_GetParent
((
IWineD3DResource
*
)
pWineD3D
,(
IUnknown
**
)
ppD3D8
);
IWineD3D
Resource_Release
((
IWineD3DResource
*
)
pWineD3D
);
IWineD3D
_GetParent
(
pWineD3D
,(
IUnknown
**
)
ppD3D8
);
IWineD3D
_Release
(
pWineD3D
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetDirect3D failed
\n
"
);
*
ppD3D8
=
NULL
;
...
...
@@ -678,8 +678,8 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetRenderTarget(LPDIRECT3DDEVICE8 i
hr
=
IWineD3DDevice_GetRenderTarget
(
This
->
WineD3DDevice
,
0
,
&
pRenderTarget
);
if
(
hr
==
D3D_OK
&&
pRenderTarget
!=
NULL
)
{
IWineD3D
Resource_GetParent
((
IWineD3DResource
*
)
pRenderTarget
,(
IUnknown
**
)
ppRenderTarget
);
IWineD3D
Resource_Release
((
IWineD3DResource
*
)
pRenderTarget
);
IWineD3D
Surface_GetParent
(
pRenderTarget
,(
IUnknown
**
)
ppRenderTarget
);
IWineD3D
Surface_Release
(
pRenderTarget
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetRenderTarget failed
\n
"
);
*
ppRenderTarget
=
NULL
;
...
...
@@ -700,8 +700,8 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetDepthStencilSurface(LPDIRECT3DDE
hr
=
IWineD3DDevice_GetDepthStencilSurface
(
This
->
WineD3DDevice
,
&
pZStencilSurface
);
if
(
hr
==
D3D_OK
&&
pZStencilSurface
!=
NULL
){
IWineD3D
Resource_GetParent
((
IWineD3DResource
*
)
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3D
Resource_Release
((
IWineD3DResource
*
)
pZStencilSurface
);
IWineD3D
Surface_GetParent
(
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3D
Surface_Release
(
pZStencilSurface
);
}
else
{
FIXME
(
"Call to IWineD3DDevice_GetDepthStencilSurface failed
\n
"
);
*
ppZStencilSurface
=
NULL
;
...
...
@@ -1315,8 +1315,8 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetIndices(LPDIRECT3DDEVICE8 iface, I
rc
=
IWineD3DDevice_GetIndices
(
This
->
WineD3DDevice
,
&
retIndexData
,
&
tmp
);
if
(
D3D_OK
==
rc
&&
NULL
!=
retIndexData
)
{
IWineD3D
Vert
exBuffer_GetParent
(
retIndexData
,
(
IUnknown
**
)
ppIndexData
);
IWineD3D
Vert
exBuffer_Release
(
retIndexData
);
IWineD3D
Ind
exBuffer_GetParent
(
retIndexData
,
(
IUnknown
**
)
ppIndexData
);
IWineD3D
Ind
exBuffer_Release
(
retIndexData
);
}
else
{
if
(
rc
!=
D3D_OK
)
FIXME
(
"Call to GetIndices failed
\n
"
);
*
ppIndexData
=
NULL
;
...
...
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