mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-05 16:40:17 +02:00
[d3d11] Fix UNKNOWN enum in video view dimension switch cases
This commit is contained in:
parent
f9bd1a5d79
commit
a3727ebd42
@ -174,7 +174,7 @@ namespace dxvk {
|
|||||||
viewInfo.numLayers = 1;
|
viewInfo.numLayers = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D11_RTV_DIMENSION_UNKNOWN:
|
case D3D11_VPIV_DIMENSION_UNKNOWN:
|
||||||
throw DxvkError("Invalid view dimension");
|
throw DxvkError("Invalid view dimension");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ namespace dxvk {
|
|||||||
viewInfo.numLayers = m_desc.Texture2DArray.ArraySize;
|
viewInfo.numLayers = m_desc.Texture2DArray.ArraySize;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D11_RTV_DIMENSION_UNKNOWN:
|
case D3D11_VPOV_DIMENSION_UNKNOWN:
|
||||||
throw DxvkError("Invalid view dimension");
|
throw DxvkError("Invalid view dimension");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user