mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[d3d11] Initialize depth images to zero rather than one
Matches Windows behaviour.
This commit is contained in:
parent
40d4922682
commit
c59a8e6e48
@ -181,7 +181,7 @@ namespace dxvk {
|
|||||||
image, value, subresources);
|
image, value, subresources);
|
||||||
} else {
|
} else {
|
||||||
VkClearDepthStencilValue value;
|
VkClearDepthStencilValue value;
|
||||||
value.depth = 1.0f;
|
value.depth = 0.0f;
|
||||||
value.stencil = 0;
|
value.stencil = 0;
|
||||||
|
|
||||||
m_context->clearDepthStencilImage(
|
m_context->clearDepthStencilImage(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user