mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
GLScope: fixed trace memory out of bounds when full history is not complete
This commit is contained in:
@@ -103,6 +103,7 @@ private:
|
||||
int m_sampleRates[16];
|
||||
BitfieldIndex<m_memHistorySizeLog2> m_memTraceIndex; //!< current index of trace being written
|
||||
BitfieldIndex<m_memHistorySizeLog2> m_memTraceHistory; //!< trace index shift into history
|
||||
int m_memTraceIndexMax;
|
||||
bool m_memTraceRecall;
|
||||
std::vector<Complex> m_mathTrace;
|
||||
std::vector<Complex>* m_displayTrace;
|
||||
|
||||
Reference in New Issue
Block a user