make opengl render stuff on osx without resizing the main window
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user