1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d11] Initialize depth images to zero rather than one

Matches Windows behaviour.
This commit is contained in:
Philip Rebohle 2019-06-02 16:33:54 +02:00
parent 40d4922682
commit c59a8e6e48

View File

@ -181,7 +181,7 @@ namespace dxvk {
image, value, subresources);
} else {
VkClearDepthStencilValue value;
value.depth = 1.0f;
value.depth = 0.0f;
value.stencil = 0;
m_context->clearDepthStencilImage(