X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbufferable.h;fp=source%2Fbufferable.h;h=8e656246f32dab7bebc307fac698e8c66fa57f88;hp=86c5c77fc4d39226295c3e442903eb476e85de1b;hb=66181b3f47322ffc9b8aebf04a8c222abe1a75a2;hpb=ffe1debbd757d20f7250fd8572c2c46cd901f559 diff --git a/source/bufferable.h b/source/bufferable.h index 86c5c77f..8e656246 100644 --- a/source/bufferable.h +++ b/source/bufferable.h @@ -45,9 +45,8 @@ public: buffer, and this object is inserted after it. */ void use_buffer(Buffer *buf, Bufferable *prev = 0); - /** Informs the objects in this chain that the buffer has been resized and - data should be reuploaded. */ - void buffer_resized(); + /** Sets the buffer for the entire chain of objects. */ + void change_buffer(Buffer *); /** Returns the total amount of storage required by this object and others in the same chain, including any alignment between objects. */