diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index bb18efc77..44b196a44 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -1927,7 +1927,7 @@ void Graphics::flushBatchedDraws() { auto &sbstate = batchedDrawState; - if (sbstate.vertexCount == 0 && sbstate.indexCount == 0 || sbstate.flushing) + if ((sbstate.vertexCount == 0 && sbstate.indexCount == 0) || sbstate.flushing) return; VertexAttributes attributes;