Skip to content

Commit e63a91d

Browse files
committed
Fix assigning NULL instead of VK_NULL_HANDLE to vulkan handle
1 parent ca88810 commit e63a91d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

renderdoc/driver/vulkan/vk_debug.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,9 +918,9 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev)
918918
stages[1].module = modules[MS2ARR];
919919

920920
// initialise to NULL
921-
m_DepthMS2ArrayPipe[f] = NULL;
921+
m_DepthMS2ArrayPipe[f] = VK_NULL_HANDLE;
922922
for(size_t s = 0; s < ARRAY_COUNT(sampleCounts); s++)
923-
m_DepthArray2MSPipe[f][s] = NULL;
923+
m_DepthArray2MSPipe[f][s] = VK_NULL_HANDLE;
924924

925925
// if the format isn't supported at all, bail out and don't try to create anything
926926
if(!(m_pDriver->GetFormatProperties(attDesc.format).optimalTilingFeatures &

0 commit comments

Comments
 (0)