Skip to content

Commit 31f9fd9

Browse files
committed
Null semaphore missing return
1 parent 3840d5e commit 31f9fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/CVulkanLogicalDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ISemaphore::WAIT_RESULT CVulkanLogicalDevice::waitForSemaphores(const std::span<
8282
{
8383
auto sema = IBackendObject::device_compatibility_cast<const CVulkanSemaphore*>(info.semaphore,this);
8484
if (!sema)
85-
retval_t::_ERROR;
85+
return retval_t::_ERROR;
8686
*(outSemaphores++) = sema->getInternalObject();
8787
*(outValues++) = info.value;
8888
}

0 commit comments

Comments
 (0)