From 498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 30 Dec 2019 23:00:02 -0800 Subject: Couple of minor updates --- Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineVulkan') 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]); } -- cgit v1.2.3