mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Defensively disables allocation of anything outside of visible lines.
This commit is contained in:
parent
227e98d6d7
commit
eb9903cd10
@ -249,6 +249,9 @@ void BufferingScanTarget::announce(Event event, bool is_visible, const Outputs::
|
||||
write_pointers_ = submit_pointers_.load(std::memory_order::memory_order_relaxed);
|
||||
frame_is_complete_ &= !allocation_has_failed_;
|
||||
}
|
||||
|
||||
// Don't permit anything to be allocated on invisible areas.
|
||||
allocation_has_failed_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user