]> git.tdb.fi Git - libs/gl.git/commit
Some tweaks to Mesh::add_batch
authorMikko Rasa <tdb@tdb.fi>
Sun, 24 Jan 2021 23:46:34 +0000 (01:46 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 25 Jan 2021 00:12:20 +0000 (02:12 +0200)
commit76ca3c65dbb96461e42300016a85a4e158f5596b
treeb4c2a292f2ea6eb0485c1fe4b63e075cc0ac6888
parent9be04243c92f024327e74ad8d48861581d83b7ed
Some tweaks to Mesh::add_batch

Index buffer can be assumed to exist.  Add a fast path for first batch,
which will also be useful in the next stage of buffer refactoring.
source/mesh.cpp