]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/vertexsetup.h
Move checking of vertex attribute indices to VertexSetup
[libs/gl.git] / source / core / vertexsetup.h
index bae4c5f36c2245d194eacc6b08b1df25658dade7..dceb79876910cdf60d76990ecba25e73992d82d9 100644 (file)
@@ -46,6 +46,7 @@ public:
        const Buffer *get_index_buffer() const { return index_buffer; }
 
 private:
+       static bool verify_array(const VertexArray &);
        static unsigned get_attribs(const VertexFormat &);
        static unsigned get_update_mask(unsigned, const VertexFormat &, const VertexArray &);
        void update(unsigned) const;