]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarray.h
Remove alignment where it doesn't belong
[libs/gl.git] / source / vertexarray.h
index 039dfa8b13ea3ed467dcdf3825b0ddaa64b825cf..7e6d04f5a05aab16c15d6dfb980748f93235cef0 100644 (file)
@@ -58,16 +58,16 @@ public:
 
        const VertexFormat &get_format() const { return format; }
        const std::vector<float> &get_data() const { return data; }
-       void         use_vertex_buffer();
-       void         use_vertex_buffer(Buffer *);
-       void         reserve(unsigned);
-       unsigned     size() const { return data.size()/stride; }
-       void         clear();
-       void         reset(const VertexFormat &);
-       void         apply() const;
-       float        *append();
+       void use_vertex_buffer();
+       void use_vertex_buffer(Buffer *);
+       void reserve(unsigned);
+       unsigned size() const { return data.size()/stride; }
+       void clear();
+       void reset(const VertexFormat &);
+       void apply() const;
+       float *append();
        float *modify(unsigned);
-       const float  *operator[](unsigned i) const { return &data[0]+i*stride; }
+       const float *operator[](unsigned i) const { return &data[0]+i*stride; }
 
 private:
        void set_dirty();