Browse Source

UI: Resize program view if resolution settings changed

jp9000 9 years ago
parent
commit
3ca327fd76
1 changed files with 2 additions and 0 deletions
  1. 2 0
      obs/window-basic-main.cpp

+ 2 - 0
obs/window-basic-main.cpp

@@ -2276,6 +2276,8 @@ int OBSBasic::ResetVideo()
 		}
 	} else if (ret == OBS_VIDEO_SUCCESS) {
 		ResizePreview(ovi.base_width, ovi.base_height);
+		if (program)
+			ResizeProgram(ovi.base_width, ovi.base_height);
 	}
 
 	return ret;