mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-23 16:11:52 -04:00
fixed starting GL context size to use GetClientSize over GetMinSize
This commit is contained in:
@@ -138,7 +138,7 @@ bool OBSBasic::InitGraphics()
|
||||
ResizePreview(ovi.base_width, ovi.base_height);
|
||||
SendSizeEvent();
|
||||
|
||||
wxSize size = previewPanel->GetMinSize();
|
||||
wxSize size = previewPanel->GetClientSize();
|
||||
ovi.window_width = size.x;
|
||||
ovi.window_height = size.y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user