]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove VertexArray's own dirty member now that it's a Bufferable
authorMikko Rasa <tdb@tdb.fi>
Sun, 15 Dec 2013 23:04:48 +0000 (01:04 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Dec 2013 18:28:45 +0000 (20:28 +0200)
source/vertexarray.cpp
source/vertexarray.h

index 996871c4094ecc659566cd460175392c6b69600a..e8fa36a030bf5991a89bf4ed8f79944543ced413 100644 (file)
@@ -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);
 }
index fb8f51b026d82e40c2ef4dd70da31f2f3c66027f..e38f0afff910b20500b750983fcf957db934d741 100644 (file)
@@ -39,7 +39,6 @@ private:
        std::vector<float> data;
        unsigned stride;
        std::vector<Array> arrays;
-       mutable bool dirty;
 
        VertexArray(const VertexArray &);
        VertexArray &operator=(const VertexArray &);