]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/vertexsetup.h
Add debug name capability to more classes
[libs/gl.git] / source / core / vertexsetup.h
index bae4c5f36c2245d194eacc6b08b1df25658dade7..06422a08c006b7953136a17ed4cbe218350d04ae 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;
@@ -54,6 +55,8 @@ private:
 public:
        void bind() const;
        static void unbind();
+
+       void set_debug_name(const std::string &);
 };
 
 } // namespace GL