From: Mikko Rasa Date: Mon, 25 Jan 2021 02:15:33 +0000 (+0200) Subject: Clear offset of Bufferable when removing from buffer X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=26502dca8d631c7c4b1fcc6dbe334da941f4ab54 Clear offset of Bufferable when removing from buffer It shouldn't really matter but just in case. --- diff --git a/source/bufferable.cpp b/source/bufferable.cpp index 4544c508..d07f57cc 100644 --- a/source/bufferable.cpp +++ b/source/bufferable.cpp @@ -88,6 +88,7 @@ void Bufferable::unlink_from_buffer() prev_in_buffer = 0; next_in_buffer = 0; buffer = 0; + offset = 0; } void Bufferable::update_offset()