Browse Source

make opengl render stuff on osx without resizing the main window

Palana 12 years ago
parent
commit
eb8c2923f6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      obs/obs-app.cpp

+ 4 - 0
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;
 }