0
0
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:
Palana 2013-12-19 23:10:09 +01:00
parent ab4e86cf5c
commit eb8c2923f6

View File

@ -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;
} }