This commit is contained in:
bjorn 2019-01-04 01:56:56 -08:00 committed by Bjorn Swenson
parent fc08b479dc
commit 83a56efd5e
1 changed files with 1 additions and 0 deletions

View File

@ -530,6 +530,7 @@ void lovrGraphicsBatch(BatchRequest* req) {
state.cursors[i] = state.cursors[i] >= oldCursor ? 0 : state.cursors[i];
batch = NULL;
streamRequirements[STREAM_DRAW_DATA] = state.maxDraws;
state.cachedGeometry.vertexCount = 0;
i = 0;
} else {
streamRequirements[i] = 0;