X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbufferable.h;h=8e656246f32dab7bebc307fac698e8c66fa57f88;hb=26502dca8d631c7c4b1fcc6dbe334da941f4ab54;hp=86c5c77fc4d39226295c3e442903eb476e85de1b;hpb=5f78db03b3285c977760a41da1e3927720e50352;p=libs%2Fgl.git 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. */