summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-31 07:00:02 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-31 07:00:02 +0000
commit498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9 (patch)
treead5cefd353a95227d562dcefcdff472573ffe588 /Graphics/GraphicsEngineVulkan
parentReworked SemaphoreObject through a more generic ManagedVulkanObject; fixed bu... (diff)
downloadDiligentCore-498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9.tar.gz
DiligentCore-498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9.zip
Couple of minor updates
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
index e2629f46..d3981fbd 100644
--- a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
@@ -360,7 +360,7 @@ void SwapChainVkImpl::CreateVulkanSwapChain()
std::stringstream ss;
ss << "Swap chain image acquired semaphore " << i;
auto Name = ss.str();
- auto Semaphore = LogicalDevice.CreateSemaphore(SemaphoreCI, ss.str().c_str());
+ auto Semaphore = LogicalDevice.CreateSemaphore(SemaphoreCI, Name.c_str());
ManagedSemaphore::Create(pRenderDeviceVk, std::move(Semaphore), Name.c_str(), &m_ImageAcquiredSemaphores[i]);
}
@@ -368,7 +368,7 @@ void SwapChainVkImpl::CreateVulkanSwapChain()
std::stringstream ss;
ss << "Swap chain draw complete semaphore " << i;
auto Name = ss.str();
- auto Semaphore = LogicalDevice.CreateSemaphore(SemaphoreCI, ss.str().c_str());
+ auto Semaphore = LogicalDevice.CreateSemaphore(SemaphoreCI, Name.c_str());
ManagedSemaphore::Create(pRenderDeviceVk, std::move(Semaphore), Name.c_str(), &m_DrawCompleteSemaphores[i]);
}