mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
make opengl render stuff on osx without resizing the main window
This commit is contained in:
parent
ab4e86cf5c
commit
eb8c2923f6
@ -222,6 +222,10 @@ bool OBSApp::OnInit()
|
|||||||
|
|
||||||
if (!obs_reset_video(&ovi))
|
if (!obs_reset_video(&ovi))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
//required to make opengl display stuff on osx(?)
|
||||||
|
mainWindow->SendSizeEvent();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user