Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Jan 6, 2024
1 parent fffb835 commit 501c41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 501c41e

Please sign in to comment.