mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Corrects right-edge bookending.
This commit is contained in:
parent
06c0c64c1a
commit
8f05560dd7
@ -266,8 +266,8 @@ void ScanTarget::end_data(size_t actual_length) {
|
||||
|
||||
// Also bookend the end.
|
||||
memcpy(
|
||||
&write_area_texture_[size_t(write_pointers_.write_area) * data_type_size_],
|
||||
&write_area_texture_[size_t(write_pointers_.write_area - 1) * data_type_size_],
|
||||
&write_area_texture_[size_t(write_pointers_.write_area - 2) * data_type_size_],
|
||||
data_type_size_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user