From d4055cd2c501a6a89e28192ff28b52c12746dbbf Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 2 Mar 2023 12:54:52 +0100 Subject: [PATCH] fix of ifdef followup dfe735fb6c4ee38bfd28a7bce97df431ba2ef897 --- src/slic3r/GUI/GUI_App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index cc60b3cff..0c4953e3a 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -1368,7 +1368,7 @@ bool GUI_App::on_init_inner() // and wxEVT_SET_FOCUS before GUI_App::post_init is called) wasn't called before GUI_App::post_init and OpenGL wasn't initialized. // Since issue #9774 Where same problem occured on MacOS Ventura, we decided to have this check on MacOS as well. -#ifdef __linux__ || __APPLE__ +#if defined(__linux__) || defined(__APPLE__) if (!m_post_initialized && m_opengl_initialized) { #else if (!m_post_initialized) {