Some refactoring of the draw code path
authorMikko Rasa <tdb@tdb.fi>
Wed, 19 Jun 2019 23:01:43 +0000 (02:01 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 19 Jun 2019 23:24:02 +0000 (02:24 +0300)
commitf50822b9e73a6ecdacbc4af4c4d9aba435a72386
tree74537c0b87b6315761968f1042da1abe064b5cfc
parent463746f62d9b48f9fbbba3b2fcf7354067873e94
Some refactoring of the draw code path

These changes make it easier to add instanced versions of the draw calls.
source/batch.cpp
source/batch.h
source/renderer.cpp