]> git.tdb.fi Git - libs/gl.git/blobdiff - source/batch.cpp
Refactor the internal interface of Bufferable a bit
[libs/gl.git] / source / batch.cpp
index 7100653ea17800cf9ebd6364e6d5fba41443948b..1b0c47bf976dd212aa4270a962d7f98a40f34761 100644 (file)
@@ -196,11 +196,6 @@ void Batch::append_index(unsigned i)
                data.push_back(i);
 }
 
-void Batch::upload_data() const
-{
-       get_buffer()->sub_data(get_offset(), data.size(), &data[0]);
-}
-
 unsigned Batch::get_index_size() const
 {
        if(data_type==UNSIGNED_SHORT)