Skip to content

Commit 81b8d18

Browse files
committed
Assert(false) in resetFences
1 parent 5489382 commit 81b8d18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/nbl/video/CVulkanLogicalDevice.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ class CVulkanLogicalDevice final : public ILogicalDevice
149149
for (uint32_t i = 0u; i < _count; ++i)
150150
{
151151
if (_fences[i]->getAPIType() != EAT_VULKAN)
152+
{
153+
assert(false);
152154
return false;
155+
}
153156

154157
vk_fences[i] = static_cast<CVulkanFence*>(_fences[i])->getInternalObject();
155158
}

0 commit comments

Comments
 (0)