Browse Source

fixed starting GL context size to use GetClientSize over GetMinSize

jp9000 11 years ago
parent
commit
843a092fae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      obs/window-basic-main.cpp

+ 1 - 1
obs/window-basic-main.cpp

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