Skip to content

Commit

Permalink
Merge pull request #10141 from shuffle2/arm64-buildfix
Browse files Browse the repository at this point in the history
fix unused variable warning
  • Loading branch information
lioncash committed Sep 30, 2021
2 parents 40d9694 + e11fdaa commit 890a5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/VertexLoaderARM64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void VertexLoaderARM64::GenerateVertexLoader()
const int limit = m_VtxAttr.g0.NormalElements == NormalComponentCount::NBT ? 3 : 1;

s32 offset = -1;
for (int i = 0; i < (m_VtxAttr.g0.NormalElements == NormalComponentCount::NBT ? 3 : 1); i++)
for (int i = 0; i < limit; i++)
{
if (!i || m_VtxAttr.g0.NormalIndex3)
{
Expand Down

0 comments on commit 890a5ed

Please sign in to comment.