summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-25 03:57:30 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-25 03:57:30 +0000
commitba61a9e49db6d89684d2bfe615f927d94c25c236 (patch)
treeccd4f2d6f608c06e7fe84e8e42966940cdd793d9 /Graphics/GraphicsEngineVulkan
parentVulkan swapchain: handling lost surface (diff)
downloadDiligentCore-ba61a9e49db6d89684d2bfe615f927d94c25c236.tar.gz
DiligentCore-ba61a9e49db6d89684d2bfe615f927d94c25c236.zip
Fixed typo
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
index ac31d171..d7818068 100644
--- a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
@@ -64,7 +64,7 @@ void SwapChainVkImpl::CreateSurface()
if (m_VkSurface != VK_NULL_HANDLE)
{
vkDestroySurfaceKHR(m_VulkanInstance->GetVkInstance(), m_VkSurface, NULL);
- m_VkSurface = nullptr;
+ m_VkSurface = VK_NULL_HANDLE;
}
// Create OS-specific surface