[d3d11] Avoid UB declaring the UnmappedSubresource constant

See https://github.com/llvm/llvm-project/issues/59036
This commit is contained in:
Billy Laws 2024-11-15 22:13:22 +00:00 committed by GitHub
parent 12c2b2f81b
commit 04c942cf51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ namespace dxvk {
public:
static constexpr D3D11_MAP UnmappedSubresource = D3D11_MAP(-1u);
static const D3D11_MAP UnmappedSubresource = D3D11_MAP(-1u);
D3D11CommonTexture(
ID3D11Resource* pInterface,