X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbatch.h;h=4d2520a19629e830609d555163c4eca836e67443;hb=ab83db6f1e31d44ced585119a57fd10896e469cb;hp=c3e9848e8ae4a245c33498c92051c47399b7f425;hpb=083578c2ca0aabfa60e8872e23d53e9101795dff;p=libs%2Fgl.git diff --git a/source/batch.h b/source/batch.h index c3e9848e..4d2520a1 100644 --- a/source/batch.h +++ b/source/batch.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007, 2009-2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_BATCH_H_ #define MSP_GL_BATCH_H_ @@ -66,6 +59,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 +74,7 @@ private: template U convert(T) const; -private: + void unlink_from_ibuf(); void update_ibuf_offsets(); };