From eb8c2923f6b635c8a576f0c16290c086b0933ea3 Mon Sep 17 00:00:00 2001 From: Palana Date: Thu, 19 Dec 2013 23:10:09 +0100 Subject: [PATCH] make opengl render stuff on osx without resizing the main window --- obs/obs-app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index 00e3555e4..24a227013 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -222,6 +222,10 @@ bool OBSApp::OnInit() if (!obs_reset_video(&ovi)) return false; + + //required to make opengl display stuff on osx(?) + mainWindow->SendSizeEvent(); + return true; }