mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
more fixes
This commit is contained in:
@ -99,7 +99,6 @@ int sdrpp_main() {
|
||||
if (window == NULL)
|
||||
return 1;
|
||||
glfwMakeContextCurrent(window);
|
||||
glfwSwapInterval(1); // Enable vsync
|
||||
|
||||
#if (GLFW_VERSION_MAJOR == 3) && (GLFW_VERSION_MINOR >= 3)
|
||||
if (maximized) {
|
||||
@ -240,6 +239,7 @@ int sdrpp_main() {
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
|
||||
|
||||
glfwSwapInterval(1); // Enable vsync
|
||||
glfwSwapBuffers(window);
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ namespace dsp {
|
||||
generic_block<AGC>::registerOutput(&out);
|
||||
}
|
||||
|
||||
void setInputSize(stream<float>* in) {
|
||||
void setInput(stream<float>* in) {
|
||||
std::lock_guard<std::mutex> lck(generic_block<AGC>::ctrlMtx);
|
||||
generic_block<AGC>::tempStop();
|
||||
generic_block<AGC>::unregisterInput(_in);
|
||||
|
@ -62,6 +62,8 @@
|
||||
#if !defined(DUK_CONFIG_H_INCLUDED)
|
||||
#define DUK_CONFIG_H_INCLUDED
|
||||
|
||||
#define DUK_USE_DATE_NOW_WINDOWS
|
||||
|
||||
/*
|
||||
* Intermediate helper defines
|
||||
*/
|
||||
|
@ -127,6 +127,7 @@ void windowInit() {
|
||||
// Add squelsh
|
||||
// CW and RAW modes;
|
||||
// Bring VFO to a visible place when changing sample rate if it's smaller
|
||||
// Use DUK_USE_DATE_NOW_WINDOWS for windows 7 support
|
||||
|
||||
// TODO for 0.2.6
|
||||
// And a module add/remove/change order menu
|
||||
|
Reference in New Issue
Block a user