mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-01 21:54:39 -04:00
Spectrum panel init fixes, more FFT distributor tweaks
This commit is contained in:
@@ -102,9 +102,9 @@ void ScopeCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
||||
wxPaintDC dc(this);
|
||||
const wxSize ClientSize = GetClientSize();
|
||||
|
||||
#ifdef __APPLE__
|
||||
glFinish();
|
||||
#endif
|
||||
//#ifdef __APPLE__
|
||||
// glFinish();
|
||||
//#endif
|
||||
|
||||
while (!inputData.empty()) {
|
||||
ScopeRenderData *avData;
|
||||
|
||||
@@ -45,9 +45,9 @@ SpectrumCanvas::~SpectrumCanvas() {
|
||||
void SpectrumCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
||||
wxPaintDC dc(this);
|
||||
const wxSize ClientSize = GetClientSize();
|
||||
#ifdef __APPLE__
|
||||
glFinish();
|
||||
#endif
|
||||
//#ifdef __APPLE__
|
||||
// glFinish();
|
||||
//#endif
|
||||
|
||||
|
||||
if (!visualDataQueue.empty()) {
|
||||
|
||||
@@ -75,9 +75,9 @@ void WaterfallCanvas::processInputQueue() {
|
||||
glContext->SetCurrent(*this);
|
||||
|
||||
bool processed = false;
|
||||
while (!visualDataQueue.empty()) {
|
||||
int numVis = visualDataQueue.size();
|
||||
for (int i = 0; i < numVis; i++) {
|
||||
SpectrumVisualData *vData;
|
||||
|
||||
visualDataQueue.pop(vData);
|
||||
|
||||
if (vData) {
|
||||
|
||||
Reference in New Issue
Block a user