mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 19:22:48 +01:00
d3d12: Fix a warning
This commit is contained in:
parent
74dab18174
commit
53ac34db35
@ -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…
Reference in New Issue
Block a user