From ab4e86cf5c4957052d2f4d34f765ce264768737e Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 19 Dec 2013 01:00:00 -0700 Subject: [PATCH] fixed a bug where the GL context wouldn't load up on macos because the window wasn't shown first --- obs/obs-app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index d471f15e1..00e3555e4 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -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; }