Skip to content

Commit e2477a0

Browse files
authored
Merge pull request #316 from tsoutsman/inclusive-frame-descriptor
Correctly allocate last frame in memory descriptor
2 parents 4f0c7a2 + 09305cc commit e2477a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: common/src/legacy_memory_region.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ where
6868
self.next_frame = start_frame;
6969
}
7070

71-
if self.next_frame < end_frame {
71+
if self.next_frame <= end_frame {
7272
let ret = self.next_frame;
7373
self.next_frame += 1;
7474
Some(ret)

0 commit comments

Comments
 (0)