From 53ac34db358848bc47372f1c7794738e497e99a6 Mon Sep 17 00:00:00 2001 From: vlj Date: Thu, 28 May 2015 23:48:34 +0200 Subject: [PATCH] d3d12: Fix a warning --- rpcs3/Emu/RSX/D3D12/D3D12.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12.h b/rpcs3/Emu/RSX/D3D12/D3D12.h index b87de5a8ea..622622a56e 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12.h +++ b/rpcs3/Emu/RSX/D3D12/D3D12.h @@ -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;