X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbatch.cpp;h=33481a1cdfc8c613692f36de60e667e8413ed698;hb=927a1aa0a3a27e463ec0efc08bd08e7c4e969909;hp=e522491144f1a7f6a06a0329e5c8e1721b241e69;hpb=76e338af116120d93d082ad247591ec9adad9233;p=libs%2Fgl.git diff --git a/source/batch.cpp b/source/batch.cpp index e5224911..33481a1c 100644 --- a/source/batch.cpp +++ b/source/batch.cpp @@ -53,14 +53,14 @@ void Batch::draw_with_buffer(unsigned offset) const Batch::Loader::Loader(Batch &b): - batch(b) + DataFile::ObjectLoader(b) { add("indices", &Loader::indices); } void Batch::Loader::indices(const vector &ind) { - batch.append(ind); + obj.append(ind); } } // namespace GL