kopia lustrzana https://github.com/f4exb/sdrangel
ScopeVis: allow Projection cache only if in single stream mode
rodzic
95923e8b8d
commit
c92fdd1c55
|
@ -1149,16 +1149,18 @@ void ScopeVis::updateMaxTraceDelay()
|
||||||
itData->m_projectionType = Projector::ProjectionReal;
|
itData->m_projectionType = Projector::ProjectionReal;
|
||||||
}
|
}
|
||||||
|
|
||||||
// WTF is this cache ??? Fixes issue in #872
|
if (m_nbStreams <= 1) // Works only for single stream mode. Fixes #872
|
||||||
// if (projectorCounts[(int) itData->m_projectionType] > 0)
|
{
|
||||||
// {
|
if (projectorCounts[(int) itData->m_projectionType] > 0)
|
||||||
// allocateCache = true;
|
{
|
||||||
// (*itCtrl)->m_projector.setCacheMaster(false);
|
allocateCache = true;
|
||||||
// }
|
(*itCtrl)->m_projector.setCacheMaster(false);
|
||||||
// else
|
}
|
||||||
// {
|
else
|
||||||
// (*itCtrl)->m_projector.setCacheMaster(true);
|
{
|
||||||
// }
|
(*itCtrl)->m_projector.setCacheMaster(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
projectorCounts[(int) itData->m_projectionType]++;
|
projectorCounts[(int) itData->m_projectionType]++;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue