Skip to content

Commit 60b3a8d

Browse files
committed
fix typo
1 parent a723701 commit 60b3a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/video/ILogicalDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ class NBL_API2 ILogicalDevice : public core::IReferenceCounted, public IDeviceMe
941941
NBL_LOG_ERROR("The queryPool was not created by this device");
942942
return false;
943943
}
944-
if (firstQuery + queryCount >= queryPool->getCreationParameters().queryCount)
944+
if (firstQuery + queryCount > queryPool->getCreationParameters().queryCount)
945945
{
946946
NBL_LOG_ERROR("Query index out of bounds");
947947
return false;

0 commit comments

Comments
 (0)