]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarray.cpp
Refactor the internal interface of Bufferable a bit
[libs/gl.git] / source / vertexarray.cpp
index 72fd8a48ecddc802ec6a1bd0aa2cb985e3c9328a..3848109973c9dca9c8c49c830ebfa10e0285c6e9 100644 (file)
@@ -103,11 +103,6 @@ unsigned VertexArray::get_data_size() const
        return data.size()*sizeof(float);
 }
 
-void VertexArray::upload_data() const
-{
-       get_buffer()->sub_data(get_offset(), get_data_size(), &data[0]);
-}
-
 void VertexArray::apply() const
 {
        if(format.empty())