Browse Source

Fix compiler warning

Sasha Szpakowski 1 year ago
parent
commit
501c41e10f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Graphics.cpp

+ 1 - 1
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;