diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-25 03:57:30 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-25 03:57:30 +0000 |
| commit | ba61a9e49db6d89684d2bfe615f927d94c25c236 (patch) | |
| tree | ccd4f2d6f608c06e7fe84e8e42966940cdd793d9 /Graphics/GraphicsEngineVulkan | |
| parent | Vulkan swapchain: handling lost surface (diff) | |
| download | DiligentCore-ba61a9e49db6d89684d2bfe615f927d94c25c236.tar.gz DiligentCore-ba61a9e49db6d89684d2bfe615f927d94c25c236.zip | |
Fixed typo
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp | 2 |
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 |
