diff options
-rw-r--r-- | include/math.hpp | 3 | ||||
-rw-r--r-- | src/main.cpp | 6 | ||||
-rw-r--r-- | src/widgets/FramebufferWidget.cpp | 2 |
3 files changed, 1 insertions, 10 deletions
diff --git a/include/math.hpp b/include/math.hpp index b7abaa09..e5226d8c 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -181,9 +181,6 @@ struct Vec { Vec round() { return Vec(roundf(x), roundf(y)); } - bool isFinite() { - return isfinite(x) && isfinite(y); - } bool isZero() { return x == 0.0 && y == 0.0; } diff --git a/src/main.cpp b/src/main.cpp index d814c518..39846603 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -86,12 +86,6 @@ void fixCwd() { #endif -#ifdef ARCH_LIN -// Tell Linux linker to request older version of glibc -__asm__(".symver realpath,realpath@GLIBC_2.2.5"); -#endif - - using namespace rack; int main() { diff --git a/src/widgets/FramebufferWidget.cpp b/src/widgets/FramebufferWidget.cpp index 4171ca0d..390ffee9 100644 --- a/src/widgets/FramebufferWidget.cpp +++ b/src/widgets/FramebufferWidget.cpp @@ -40,7 +40,7 @@ void FramebufferWidget::step() { internal->box.pos = padding.neg(); internal->box.size = box.size.plus(padding.mult(2)); Vec fbSize = internal->box.size.mult(gPixelRatio); - assert(fbSize.isFinite()); + // assert(fbSize.isFinite()); internal->setFramebuffer(NULL); NVGLUframebuffer *fb = nvgluCreateFramebuffer(gVg, fbSize.x, fbSize.y, NVG_IMAGE_REPEATX | NVG_IMAGE_REPEATY); |