]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarray.h
Deactivate all arrays when deleting the active VertexArray
[libs/gl.git] / source / vertexarray.h
index 1887ad912d52547d89257e48f74af7d10e58db47..82a6b6ac5260cb3bd074404480187022f2b03b37 100644 (file)
@@ -70,6 +70,8 @@ public:
        const float *operator[](unsigned i) const { return &data[0]+i*stride; }
 
        void apply() const;
+private:
+       static void apply_arrays(const std::vector<Array> *, const std::vector<Array> *, const float *, unsigned);
 };
 
 } // namespace GL