Skip to content

Commit 65b33c4

Browse files
remove an assert nobody wants, and update example submodule
1 parent 80dd73a commit 65b33c4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples_tests

include/nbl/asset/IImage.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,7 @@ class IImage : public IDescriptor
665665
maxBufferOffset = (maxBufferOffset+1u)*blockByteSize;
666666
maxBufferOffset += it->bufferOffset;
667667
if (maxBufferOffset>src->getSize())
668-
{
669-
assert(false);
670668
die = true;
671-
}
672669
#endif
673670

674671
// TODO: The union of all source regions, and the union of all destination regions, specified by the elements of pRegions, must not overlap in memory

0 commit comments

Comments
 (0)