diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2019-12-31 07:00:02 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2019-12-31 07:00:02 +0000 |
| commit | 498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9 (patch) | |
| tree | ad5cefd353a95227d562dcefcdff472573ffe588 /Graphics/GraphicsEngineVulkan | |
| parent | Reworked SemaphoreObject through a more generic ManagedVulkanObject; fixed bu... (diff) | |
| download | DiligentCore-498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9.tar.gz DiligentCore-498da5544324fbd9dfb8b6ac0c1fb5969b6d8dc9.zip | |
Couple of minor updates
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp | 4 |
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]); } |
