X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbufferable.cpp;h=a0ff06c8f25802f782c37b599f583019073cffb6;hb=69f8cd98ee3b78f2e4ee509d30e5e828456ef702;hp=24c0f2789f4bae1bf256237587509ff40c408e68;hpb=5a3966187c59c8763b7109d252875939e70cc151;p=libs%2Fgl.git diff --git a/source/core/bufferable.cpp b/source/core/bufferable.cpp index 24c0f278..a0ff06c8 100644 --- a/source/core/bufferable.cpp +++ b/source/core/bufferable.cpp @@ -60,11 +60,6 @@ unsigned Bufferable::get_required_buffer_size() const return last->offset+last->get_data_size(); } -Bufferable::AsyncUpdater *Bufferable::refresh_async() const -{ - return dirty ? new AsyncUpdater(*this) : 0; -} - void Bufferable::unlink_from_buffer() { if(prev_in_buffer) @@ -114,7 +109,6 @@ void Bufferable::upload_data(char *target) const if(location_dirty) { buffer->require_size(offset+data_size); - location_changed(buffer, offset, data_size); location_dirty = false; }