X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbatch.cpp;h=1b0c47bf976dd212aa4270a962d7f98a40f34761;hb=0687d51f638169ffe55ad27e71ae99508ef3c38c;hp=7100653ea17800cf9ebd6364e6d5fba41443948b;hpb=61ff840cd211f10d45dca8c4dad2cca5f68aaa42;p=libs%2Fgl.git diff --git a/source/batch.cpp b/source/batch.cpp index 7100653e..1b0c47bf 100644 --- a/source/batch.cpp +++ b/source/batch.cpp @@ -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)