]> git.tdb.fi Git - libs/gl.git/blobdiff - source/batch.h
Avoid unnecessary work in Batch's vector append
[libs/gl.git] / source / batch.h
index c3e9848e8ae4a245c33498c92051c47399b7f425..696891ba3047ce1a557c9f36ddeee64b82c17882 100644 (file)
@@ -66,6 +66,7 @@ public:
        unsigned size() const { return data.size()/get_index_size(); }
        unsigned get_index(unsigned) const;
        void draw() const;
+
 private:
        unsigned get_index_size() const;
 
@@ -80,7 +81,7 @@ private:
 
        template<typename T, typename U>
        U convert(T) const;
-private:
+
        void unlink_from_ibuf();
        void update_ibuf_offsets();
 };