提交 ab4e86cf 编写于 作者: J jp9000

fixed a bug where the GL context wouldn't load up on macos because the window wasn't shown first

上级 24c45458
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册