]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/vertexarray.cpp
Use default member initializers for simple types
[libs/gl.git] / source / core / vertexarray.cpp
index a13d79cc6b0abd3e0c42362b24dc56fc14e05d27..796bef8053c15a346273bd03beaa8c80abe73d74 100644 (file)
@@ -1,9 +1,4 @@
-#include <msp/gl/extensions/arb_multitexture.h>
-#include <msp/gl/extensions/arb_vertex_shader.h>
-#include "buffer.h"
 #include "error.h"
-#include "gl.h"
-#include "mesh.h"
 #include "vertexarray.h"
 
 using namespace std;
@@ -11,10 +6,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-VertexArray::VertexArray():
-       stride(0)
-{ }
-
 VertexArray::VertexArray(const VertexFormat &f)
 {
        set_format(f);