Skip to content

Commit a383f5a

Browse files
author
devsh
committed
fix query pool typo
1 parent 294501c commit a383f5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nbl/video/CVulkanLogicalDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ core::smart_refctd_ptr<IQueryPool> CVulkanLogicalDevice::createQueryPool_impl(co
14341434
info.pipelineStatistics = CVulkanQueryPool::getVkPipelineStatisticsFlagsFrom(params.pipelineStatisticsFlags.value);
14351435

14361436
VkQueryPool vk_queryPool = VK_NULL_HANDLE;
1437-
if (m_devf.vk.vkCreateQueryPool(m_vkdev,&info,nullptr,&vk_queryPool)!=VK_SUCCESS)
1437+
if (m_devf.vk.vkCreateQueryPool(m_vkdev,&info,nullptr,&vk_queryPool)==VK_SUCCESS)
14381438
return core::make_smart_refctd_ptr<CVulkanQueryPool>(this,params,vk_queryPool);
14391439
return nullptr;
14401440
}

0 commit comments

Comments
 (0)