]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.h
Make VertexFormat capable of storing type information
[libs/gl.git] / source / core / mesh.h
index 57ffce4722e30efce84ff588741d9b845f7d108b..0111bb7798908348cfb09080631c29d7c3e1f6cc 100644 (file)
@@ -91,7 +91,7 @@ public:
        const VertexSetup &get_vertex_setup() const { return vtx_setup; }
        const Buffer *get_index_buffer() const { return ibuf; }
        unsigned get_n_vertices() const;
-       float *modify_vertex(unsigned);
+       char *modify_vertex(unsigned);
 
        void add_batch(const Batch &b);
        const std::vector<Batch> &get_batches() const { return batches; }