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:
jp9000
2013-12-19 01:00:00 -07:00
parent 24c45458b5
commit ab4e86cf5c
+2 -2
View File
@@ -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;
}