Skip to content

Commit 29573f8

Browse files
committed
don't upscale on a 192x64 RGB24DMD
1 parent 73e1f36 commit 29573f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RGB24DMD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void RGB24DMD::Update(uint8_t* pData, uint16_t width, uint16_t height)
4444
FrameUtil::Helper::ScaleDown(m_pData, 128, 32, pData, width, height, 24);
4545
m_update = true;
4646
}
47-
else if (height == 32 && m_height == 64)
47+
else if (width == 128 && height == 32 && m_width == 256 && m_height == 64)
4848
{
4949
FrameUtil::Helper::ScaleUp(m_pData, pData, width, height, 24);
5050
m_update = true;

0 commit comments

Comments
 (0)