]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bufferable.h
Make buffer storage immutable and use ARB_buffer_storage
[libs/gl.git] / source / bufferable.h
index 86c5c77fc4d39226295c3e442903eb476e85de1b..8e656246f32dab7bebc307fac698e8c66fa57f88 100644 (file)
@@ -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. */