Skip to content

Commit 05da458

Browse files
committed
Fix upper limit of per-pixel mesh dimensions from 400 to 300
1 parent 0b4393f commit 05da458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libprojectM/ProjectM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ void ProjectM::SetMeshSize(uint32_t meshResolutionX, uint32_t meshResolutionY)
493493
}
494494

495495
// Constrain per-pixel mesh size to sensible limits
496-
m_meshX = std::max(8u, std::min(400u, m_meshX));
497-
m_meshY = std::max(8u, std::min(400u, m_meshY));
496+
m_meshX = std::max(8u, std::min(300u, m_meshX));
497+
m_meshY = std::max(8u, std::min(300u, m_meshY));
498498
}
499499

500500
void ProjectM::TexelOffsets(float& texelOffsetX, float& texelOffsetY) const

0 commit comments

Comments
 (0)