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
d95ae08a
Commit
d95ae08a
authored
Sep 22, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the wantsDepthStencilBuffer in IWineD3DSwapChainImpl.
parent
c71a89c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
device.c
dlls/wined3d/device.c
+1
-8
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/device.c
View file @
d95ae08a
...
...
@@ -1618,19 +1618,12 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
if
(
This
->
auto_depth_stencil_buffer
!=
NULL
)
IWineD3DSurface_SetContainer
(
This
->
auto_depth_stencil_buffer
,
0
);
}
/** TODO: A check on width, height and multisample types
*(since the zbuffer must be at least as large as the render target and have the same multisample parameters)
****************************/
object
->
wantsDepthStencilBuffer
=
TRUE
;
}
else
{
object
->
wantsDepthStencilBuffer
=
FALSE
;
}
IWineD3DSwapChain_GetGammaRamp
((
IWineD3DSwapChain
*
)
object
,
&
object
->
orig_gamma
);
TRACE
(
"Created swapchain %p
\n
"
,
object
);
TRACE
(
"FrontBuf @ %p, BackBuf @ %p, DepthStencil %d
\n
"
,
object
->
frontBuffer
,
object
->
backBuffer
?
object
->
backBuffer
[
0
]
:
NULL
,
object
->
wantsDepthStencilBuffer
);
TRACE
(
"FrontBuf @ %p, BackBuf @ %p, DepthStencil %d
\n
"
,
object
->
frontBuffer
,
object
->
backBuffer
?
object
->
backBuffer
[
0
]
:
NULL
,
pPresentationParameters
->
EnableAutoDepthStencil
);
return
WINED3D_OK
;
error:
...
...
dlls/wined3d/wined3d_private.h
View file @
d95ae08a
...
...
@@ -1746,7 +1746,6 @@ typedef struct IWineD3DSwapChainImpl
/* IWineD3DSwapChain fields */
IWineD3DSurface
**
backBuffer
;
IWineD3DSurface
*
frontBuffer
;
BOOL
wantsDepthStencilBuffer
;
WINED3DPRESENT_PARAMETERS
presentParms
;
DWORD
orig_width
,
orig_height
;
WINED3DFORMAT
orig_fmt
;
...
...
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