GL context init fixes and warning cleanup

This commit is contained in:
Charles J. Cliffe
2015-01-20 19:13:49 -05:00
parent 3b23813e7b
commit 4dad30e9bd
12 changed files with 33 additions and 20 deletions
+8
View File
@@ -100,6 +100,8 @@ void DemodulatorPreThread::threadMain() {
case DemodulatorThreadCommand::DEMOD_THREAD_CMD_SET_FREQUENCY:
params.frequency = command.llong_value;
break;
default:
break;
}
}
}
@@ -227,6 +229,8 @@ void DemodulatorPreThread::threadMain() {
params.bandwidth = result.bandwidth;
params.sampleRate = result.sampleRate;
break;
default:
break;
}
}
@@ -243,6 +247,10 @@ void DemodulatorPreThread::threadMain() {
tCmd.context = this;
threadQueueNotify->push(tCmd);
std::cout << "Demodulator preprocessor thread done." << std::endl;
#ifdef __APPLE__
return this;
#endif
}
void DemodulatorPreThread::terminate() {