diff options
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp index 496255e5..03be0852 100644 --- a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp @@ -370,7 +370,7 @@ TextureD3D12Impl::TextureD3D12Impl(IReferenceCounters* pRefCounters, ); } } - D3D12_RANGE FlushRange{0, stagingBufferSize}; + D3D12_RANGE FlushRange{0, static_cast<SIZE_T>(stagingBufferSize)}; m_pd3d12Resource->Unmap(0, &FlushRange); } } |
