mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-03-29 09:36:05 +02:00
d3d12: Fix a type warning
This commit is contained in:
parent
d29b82566e
commit
294d649012
|
|
@ -98,7 +98,7 @@ D3D12_RESOURCE_DESC getTexture2DResourceDesc(size_t width, size_t height, DXGI_F
|
||||||
result.Format = dxgiFormat;
|
result.Format = dxgiFormat;
|
||||||
result.DepthOrArraySize = 1;
|
result.DepthOrArraySize = 1;
|
||||||
result.SampleDesc.Count = 1;
|
result.SampleDesc.Count = 1;
|
||||||
result.MipLevels = mipmapLevels;
|
result.MipLevels = (UINT16)mipmapLevels;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue