mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01: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;
|
||||
break;
|
||||
|
||||
case D3D11_RTV_DIMENSION_UNKNOWN:
|
||||
case D3D11_VPIV_DIMENSION_UNKNOWN:
|
||||
throw DxvkError("Invalid view dimension");
|
||||
}
|
||||
|
||||
@ -277,7 +277,7 @@ namespace dxvk {
|
||||
viewInfo.numLayers = m_desc.Texture2DArray.ArraySize;
|
||||
break;
|
||||
|
||||
case D3D11_RTV_DIMENSION_UNKNOWN:
|
||||
case D3D11_VPOV_DIMENSION_UNKNOWN:
|
||||
throw DxvkError("Invalid view dimension");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user