From 8ca43ba4f06e0b618ace763b83930123e3584a74 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 28 Dec 2021 21:30:34 +0000 Subject: [PATCH] VST3 resize fixes for macOS --- dpf | 2 +- src/override/MIDI_CV.cpp | 4 ---- src/override/Window.cpp | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/dpf b/dpf index c7e77db..a3cc61e 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit c7e77db0ac265dd031c14a912108235c39733971 +Subproject commit a3cc61e48284e8826413fec4459021f8d805c376 diff --git a/src/override/MIDI_CV.cpp b/src/override/MIDI_CV.cpp index c34caad..053c532 100644 --- a/src/override/MIDI_CV.cpp +++ b/src/override/MIDI_CV.cpp @@ -32,10 +32,6 @@ namespace rack { namespace core { -static inline void nsvg__deletePaths(NSVGpath* path) -{ -} - struct MIDI_CVWidget_Cardinal : ModuleWidget { MIDI_CV* const module; diff --git a/src/override/Window.cpp b/src/override/Window.cpp index 87a47bb..be4eccf 100644 --- a/src/override/Window.cpp +++ b/src/override/Window.cpp @@ -401,7 +401,7 @@ void Window::step() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); } - internal->frame++; + ++internal->frame; }