From cd8b80404608c783b931526c7feddb31081630f6 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 12 Dec 2025 18:45:36 +0100 Subject: [PATCH] Fix upper limit of per-pixel mesh dimensions from 400 to 300 --- src/libprojectM/ProjectM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libprojectM/ProjectM.cpp b/src/libprojectM/ProjectM.cpp index 4c6a70237..552c1e071 100644 --- a/src/libprojectM/ProjectM.cpp +++ b/src/libprojectM/ProjectM.cpp @@ -493,8 +493,8 @@ void ProjectM::SetMeshSize(uint32_t meshResolutionX, uint32_t meshResolutionY) } // Constrain per-pixel mesh size to sensible limits - m_meshX = std::max(8u, std::min(400u, m_meshX)); - m_meshY = std::max(8u, std::min(400u, m_meshY)); + m_meshX = std::max(8u, std::min(300u, m_meshX)); + m_meshY = std::max(8u, std::min(300u, m_meshY)); } void ProjectM::TexelOffsets(float& texelOffsetX, float& texelOffsetY) const