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

[d3d11] Fix uninitialized DSV flags

Fixes #1242.
This commit is contained in:
Philip Rebohle 2019-11-10 15:02:21 +01:00
parent 4b199ef60d
commit 31baf3529a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -155,6 +155,7 @@ namespace dxvk {
D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc) {
D3D11_RESOURCE_DIMENSION resourceDim = D3D11_RESOURCE_DIMENSION_UNKNOWN;
pResource->GetType(&resourceDim);
pDesc->Flags = 0;
switch (resourceDim) {
case D3D11_RESOURCE_DIMENSION_TEXTURE1D: {