File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1596,6 +1596,7 @@ void DMD::RGB24DMDThread()
15961596 }
15971597 else
15981598 {
1599+ // Serum v2 or RGB16
15991600 for (int i = 0 ; i < length; i++)
16001601 {
16011602 int pos = i * 3 ;
@@ -1609,6 +1610,12 @@ void DMD::RGB24DMDThread()
16091610
16101611 for (RGB24DMD* pRGB24DMD : m_rgb24DMDs)
16111612 {
1613+ if (m_pSerum &&
1614+ (!IsSerumMode (m_pUpdateBufferQueue[bufferPosition]->mode , showNotColorizedFrames) ||
1615+ (pRGB24DMD->GetWidth () == 256 && m_pUpdateBufferQueue[bufferPosition]->mode == Mode::SerumV2_32_64) ||
1616+ (pRGB24DMD->GetWidth () < 256 && m_pUpdateBufferQueue[bufferPosition]->mode == Mode::SerumV2_64_32)))
1617+ continue ;
1618+
16121619 if (pRGB24DMD->GetLength () == length * 3 ) pRGB24DMD->Update (rgb24Data);
16131620 }
16141621 }
You can’t perform that action at this time.
0 commit comments