mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-20 08:18:58 +00:00
d3d12: Fix a warning
This commit is contained in:
parent
74dab18174
commit
53ac34db35
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ D3D12_RESOURCE_DESC getTexture2DResourceDesc(size_t width, size_t height, DXGI_F
|
||||||
D3D12_RESOURCE_DESC result;
|
D3D12_RESOURCE_DESC result;
|
||||||
result = {};
|
result = {};
|
||||||
result.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D;
|
result.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D;
|
||||||
result.Width = width;
|
result.Width = (UINT)width;
|
||||||
result.Height = height;
|
result.Height = (UINT)height;
|
||||||
result.Format = dxgiFormat;
|
result.Format = dxgiFormat;
|
||||||
result.DepthOrArraySize = 1;
|
result.DepthOrArraySize = 1;
|
||||||
result.SampleDesc.Count = 1;
|
result.SampleDesc.Count = 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue