From 788ac2ecf58d66f3498a5c4c4d1c1610f118e80f Mon Sep 17 00:00:00 2001 From: Jon Keller Date: Thu, 18 Mar 2021 16:46:44 -0500 Subject: [PATCH] MacOS: When initializing an openGL view with a parent window, call finishInit --- src/SFML/Window/OSX/SFWindowController.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SFML/Window/OSX/SFWindowController.mm b/src/SFML/Window/OSX/SFWindowController.mm index 6daba5d6..fe1fc069 100644 --- a/src/SFML/Window/OSX/SFWindowController.mm +++ b/src/SFML/Window/OSX/SFWindowController.mm @@ -123,6 +123,8 @@ // Set the view to the window as its content view. [m_window setContentView:m_oglView]; + + [m_oglView finishInit]; } return self;