fixed starting GL context size to use GetClientSize over GetMinSize

This commit is contained in:
jp9000 2013-12-31 07:26:24 -07:00
parent e1a32f8eac
commit 843a092fae

View File

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