mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-19 15:59:00 +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;
|
||||
result = {};
|
||||
result.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D;
|
||||
result.Width = width;
|
||||
result.Height = height;
|
||||
result.Width = (UINT)width;
|
||||
result.Height = (UINT)height;
|
||||
result.Format = dxgiFormat;
|
||||
result.DepthOrArraySize = 1;
|
||||
result.SampleDesc.Count = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue