1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-29 16:55:59 +00:00

Corrects right-edge bookending.

This commit is contained in:
Thomas Harte 2018-11-17 17:46:57 -05:00
parent 06c0c64c1a
commit 8f05560dd7

View File

@ -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_);
}