提交 843a092f 编写于 作者: J jp9000

fixed starting GL context size to use GetClientSize over GetMinSize

上级 e1a32f8e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册