X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbatch.cpp;h=1b0c47bf976dd212aa4270a962d7f98a40f34761;hp=7100653ea17800cf9ebd6364e6d5fba41443948b;hb=98cc25ffe956bc162c053c96df659ba40dfe2d6e;hpb=753198a93aff1b535806042ef10567331170fb9e 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)