1
0
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:
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. // Also bookend the end.
memcpy( 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 - 1) * data_type_size_],
&write_area_texture_[size_t(write_pointers_.write_area - 2) * data_type_size_],
data_type_size_); data_type_size_);
} }