]> git.tdb.fi Git - libs/gl.git/blobdiff - source/batch.h
Only call update_offset() once per append operation
[libs/gl.git] / source / batch.h
index 3c54089a1a449e07ff91c7f1f09774c4c57c276a..92a10e6b4923a4d82678794e3ce7653766b9ca7f 100644 (file)
@@ -53,6 +53,7 @@ public:
        void append(const std::vector<unsigned> &);
        void append(const Batch &);
 private:
+       void append_index(unsigned);
        virtual unsigned get_data_size() const { return data.size(); }
        virtual void upload_data() const;
        unsigned get_index_size() const;