Rename internal batched draw code to be more clear

This commit is contained in:
Alex Szpakowski
2020-02-27 20:08:50 -04:00
parent 20e7b1745c
commit 9425c9224b
15 changed files with 82 additions and 82 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ void Mesh::drawInstanced(Graphics *gfx, const Matrix4 &m, int instancecount)
if (instancecount > 1 && !gfx->getCapabilities().features[Graphics::FEATURE_INSTANCING])
throw love::Exception("Instancing is not supported on this system.");
gfx->flushStreamDraws();
gfx->flushBatchedDraws();
if (Shader::isDefaultActive())
Shader::attachDefault(Shader::STANDARD_DEFAULT);