fix of ifdef

followup dfe735fb6c
This commit is contained in:
David Kocik 2023-03-02 12:54:52 +01:00
parent dc7373514d
commit d4055cd2c5

View File

@ -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) {