]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.cpp
Make VertexFormat capable of storing type information
[libs/gl.git] / source / core / mesh.cpp
index 77da81ebec4a3e51d286dc5477142a46191c9cf0..de05102a358a5665a51b12cd0c345c21441052d5 100644 (file)
@@ -107,7 +107,7 @@ unsigned Mesh::get_n_vertices() const
        return vertices.size();
 }
 
-float *Mesh::modify_vertex(unsigned i)
+char *Mesh::modify_vertex(unsigned i)
 {
        if(vertices.get_format().empty())
                throw invalid_operation("Mesh::modify_vertex");