This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Linux: fix host fps setting (=> 30fps)
pull/1639/head
bsp2
6 years ago
parent
87ee048934
commit
515a9ae6a4
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/vst2_main.cpp
+ 6
- 0
src/vst2_main.cpp
View File
@@ -642,7 +642,13 @@ 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);
Write
Preview
Loading…
Cancel
Save