[*] stream regression
This commit is contained in:
parent
664eb270dc
commit
e0d7bbea01
@ -356,7 +356,7 @@ namespace Aurora::IO
|
||||
|
||||
auto uInterframeProgress = this->GetBytesProcessedInterframe();
|
||||
|
||||
if (bIsCullingLastFrame = (canRead2 + uInterframeProgress > this->uBytesWrittenLimit_))
|
||||
if (bIsCullingLastFrame = (this->uBytesWrittenLimit_ && canRead2 + uInterframeProgress > this->uBytesWrittenLimit_))
|
||||
{
|
||||
auto uLastFrameBytes = this->uBytesWrittenLimit_ - uInterframeProgress;
|
||||
auto uAbsDataToRead = AuMin<AuUInt>(canRead, uLastFrameBytes);
|
||||
|
Loading…
Reference in New Issue
Block a user