diff --git a/rpcs3/Emu/RSX/D3D12/D3D12.h b/rpcs3/Emu/RSX/D3D12/D3D12.h index 069fff3c4b..506d84b578 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12.h +++ b/rpcs3/Emu/RSX/D3D12/D3D12.h @@ -98,7 +98,7 @@ D3D12_RESOURCE_DESC getTexture2DResourceDesc(size_t width, size_t height, DXGI_F result.Format = dxgiFormat; result.DepthOrArraySize = 1; result.SampleDesc.Count = 1; - result.MipLevels = mipmapLevels; + result.MipLevels = (UINT16)mipmapLevels; return result; }