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
c0d770de
Commit
c0d770de
authored
Sep 10, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: GetDepthStencilSurface returns D3DERR_NOTFOUND when no depth stencil is present.
parent
4987ffff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
device.c
dlls/d3d9/device.c
+5
-8
No files found.
dlls/d3d9/device.c
View file @
c0d770de
...
...
@@ -737,15 +737,12 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetDepthStencilSurface(LPDIRECT3DDE
EnterCriticalSection
(
&
d3d9_cs
);
hr
=
IWineD3DDevice_GetDepthStencilSurface
(
This
->
WineD3DDevice
,
&
pZStencilSurface
);
if
(
hr
==
D3D_OK
)
{
if
(
pZStencilSurface
!=
NULL
){
IWineD3DSurface_GetParent
(
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3DSurface_Release
(
pZStencilSurface
);
}
else
{
*
ppZStencilSurface
=
NULL
;
}
if
(
hr
==
WINED3D_OK
)
{
IWineD3DSurface_GetParent
(
pZStencilSurface
,(
IUnknown
**
)
ppZStencilSurface
);
IWineD3DSurface_Release
(
pZStencilSurface
);
}
else
{
WARN
(
"Call to IWineD3DDevice_GetDepthStencilSurface failed
\n
"
);
if
(
hr
!=
WINED3DERR_NOTFOUND
)
WARN
(
"Call to IWineD3DDevice_GetDepthStencilSurface failed with 0x%08x
\n
"
,
hr
);
*
ppZStencilSurface
=
NULL
;
}
LeaveCriticalSection
(
&
d3d9_cs
);
...
...
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