From 0ee5eebf91859b190c2187beb8d170ace4d04495 Mon Sep 17 00:00:00 2001 From: brunoherbelin Date: Tue, 23 Feb 2021 23:43:41 +0100 Subject: [PATCH] Linux compilation fix --- UserInterfaceManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UserInterfaceManager.cpp b/UserInterfaceManager.cpp index 46a882d..b630c3b 100644 --- a/UserInterfaceManager.cpp +++ b/UserInterfaceManager.cpp @@ -1119,6 +1119,10 @@ void UserInterface::RenderHistory() void UserInterface::RenderPreview() { +#if defined(LINUX) + bool openInitializeSystemLoopback = false; +#endif + struct CustomConstraints // Helper functions for aspect-ratio constraints { static void AspectRatio(ImGuiSizeCallbackData* data) {