mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
fixed a bug where the GL context wouldn't load up on macos because the window wasn't shown first
This commit is contained in:
1 parent
24c45458b5
commit
ab4e86cf5c
1 file changed
+2
-2
+2
-2
@@ -203,6 +203,8 @@ bool OBSApp::OnInit()
|
||||
|
||||
wxSize size = mainWindow->GetPreviewPanel()->GetClientSize();
|
||||
|
||||
mainWindow->Show();
|
||||
|
||||
/* this is a test */
|
||||
struct obs_video_info ovi;
|
||||
ovi.graphics_module = "libobs-opengl";
|
||||
@@ -220,8 +222,6 @@ bool OBSApp::OnInit()
|
||||
|
||||
if (!obs_reset_video(&ovi))
|
||||
return false;
|
||||
|
||||
mainWindow->Show();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user