From: Mikko Rasa Date: Sun, 15 Dec 2013 23:04:48 +0000 (+0200) Subject: Remove VertexArray's own dirty member now that it's a Bufferable X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=3f4a818023513129e4eae2099c30f7842bb2ccd0 Remove VertexArray's own dirty member now that it's a Bufferable --- diff --git a/source/vertexarray.cpp b/source/vertexarray.cpp index 996871c4..e8fa36a0 100644 --- a/source/vertexarray.cpp +++ b/source/vertexarray.cpp @@ -11,8 +11,7 @@ using namespace std; namespace Msp { namespace GL { -VertexArray::VertexArray(const VertexFormat &f): - dirty(false) +VertexArray::VertexArray(const VertexFormat &f) { reset(f); } diff --git a/source/vertexarray.h b/source/vertexarray.h index fb8f51b0..e38f0aff 100644 --- a/source/vertexarray.h +++ b/source/vertexarray.h @@ -39,7 +39,6 @@ private: std::vector data; unsigned stride; std::vector arrays; - mutable bool dirty; VertexArray(const VertexArray &); VertexArray &operator=(const VertexArray &);