summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-23 18:44:13 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-23 18:44:13 +0000
commit9393ce98a7c6f0a969510503f3b2cf64198273ba (patch)
tree97ae6d4fd88d317af36f34f9ae31fd9ffaceaa1e /Graphics/GraphicsTools
parentFixed formatting (diff)
downloadDiligentCore-9393ce98a7c6f0a969510503f3b2cf64198273ba.tar.gz
DiligentCore-9393ce98a7c6f0a969510503f3b2cf64198273ba.zip
Renamed MAP_FLAG_DO_NOT_SYNCHRONIZE flag to MAP_FLAG_NO_OVERWRITE (API version )
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/src/TextureUploaderD3D12_Vk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsTools/src/TextureUploaderD3D12_Vk.cpp b/Graphics/GraphicsTools/src/TextureUploaderD3D12_Vk.cpp
index cb2e7ad7..0dbafd88 100644
--- a/Graphics/GraphicsTools/src/TextureUploaderD3D12_Vk.cpp
+++ b/Graphics/GraphicsTools/src/TextureUploaderD3D12_Vk.cpp
@@ -87,7 +87,7 @@ public:
{
VERIFY(!IsMapped(Mip, Slice), "This subresource is already mapped");
MappedTextureSubresource MappedData;
- pDeviceContext->MapTextureSubresource(m_pStagingTexture, Mip, Slice, MAP_WRITE, MAP_FLAG_DO_NOT_SYNCHRONIZE, nullptr, MappedData);
+ pDeviceContext->MapTextureSubresource(m_pStagingTexture, Mip, Slice, MAP_WRITE, MAP_FLAG_NO_OVERWRITE, nullptr, MappedData);
SetMappedData(Mip, Slice, MappedData);
}