]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Use RAII checks for extensions and versions
[libs/gl.git] / source / mesh.h
index e3753f8b867ce1516f66b680d5cc488142430209..633cf3ab377651a95bd8835cd6922c2b2a759656 100644 (file)
@@ -43,6 +43,7 @@ public:
        const VertexArray &get_vertices() const { return vertices; }
        void add_batch(const Batch &b);
        const std::list<Batch> &get_batches() { return batches; }
+       void clear();
        void draw() const;
 };