X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbufferable.h;h=f11d51fa0671b716f7897fdd1f2ed947892f8da9;hb=5fa0901a84cdba32f491a4e3997916f2fbb30863;hp=b430b726277c657fac569fb334bf5c69f624409e;hpb=97818e67b2543a6075c13e6bf22c296757b975e5;p=libs%2Fgl.git diff --git a/source/core/bufferable.h b/source/core/bufferable.h index b430b726..f11d51fa 100644 --- a/source/core/bufferable.h +++ b/source/core/bufferable.h @@ -60,7 +60,7 @@ public: /** Returns the total amount of storage required by this object and others in the same chain, including any padding required by object alignment. */ - std::size_t get_required_buffer_size() const; + std::size_t get_required_buffer_size(bool = false) const; /** Uploads new data into the buffer if necessary. */ void refresh() const { if(dirty) upload_data(0); }