From 633385a5ed4222a3cc3eaa71e702c89a1370eaf7 Mon Sep 17 00:00:00 2001 From: bsp2 Date: Sun, 28 Oct 2018 10:24:20 +0100 Subject: [PATCH] revert host fps fallback --- src/vst2_main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/vst2_main.cpp b/src/vst2_main.cpp index d983cb38..5ae6c08b 100644 --- a/src/vst2_main.cpp +++ b/src/vst2_main.cpp @@ -643,14 +643,12 @@ public: void setRefreshRate(float _hz) { if(_hz < 15.0f) { -#ifdef YAC_LINUX - redraw_ival_ms = 1000/30u; // start timer -#else redraw_ival_ms = 0u; -#endif } else + { redraw_ival_ms = sUI(1000.0f / _hz); + } if(b_editor_open) {