diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-01-01 02:42:05 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-01-01 02:42:05 +0000 |
| commit | 84f5306f57a09815f7bd19c4b414695f0d1637ec (patch) | |
| tree | 970c5257aff42540a2885023514876353cb8879c /Graphics/GraphicsEngineD3D12 | |
| parent | Implemented initialization of staging textures in D3D12 and Vulkan backends (diff) | |
| download | DiligentCore-84f5306f57a09815f7bd19c4b414695f0d1637ec.tar.gz DiligentCore-84f5306f57a09815f7bd19c4b414695f0d1637ec.zip | |
Fixed 32-bit build
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); } } |
