X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fvertexsetup.h;h=06422a08c006b7953136a17ed4cbe218350d04ae;hb=9489e2fe00469212c42a38fd8c77a15a8ad9e465;hp=bae4c5f36c2245d194eacc6b08b1df25658dade7;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/core/vertexsetup.h b/source/core/vertexsetup.h index bae4c5f3..06422a08 100644 --- a/source/core/vertexsetup.h +++ b/source/core/vertexsetup.h @@ -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