fixed starting GL context size to use GetClientSize over GetMinSize
This commit is contained in:
parent
e1a32f8eac
commit
843a092fae
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user