From 3f4a818023513129e4eae2099c30f7842bb2ccd0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 16 Dec 2013 01:04:48 +0200 Subject: [PATCH] Remove VertexArray's own dirty member now that it's a Bufferable --- source/vertexarray.cpp | 3 +-- source/vertexarray.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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 &); -- 2.45.2