UI: add a default black background to the PGM output of the multiview

master
Stéphane L 2019-02-02 15:42:12 +01:00
parent b5e656828f
commit a8944d0a34
1 changed files with 3 additions and 0 deletions

View File

@ -589,6 +589,9 @@ void OBSProjector::OBSRenderMultiview(void *data, uint32_t cx, uint32_t cy)
window->offset = labelOffset(programLabel, window->pvwprgCX);
calcPreviewProgram(true);
paintAreaWithColor(window->sourceX, window->sourceY, window->ppiCX,
window->ppiCY, backgroundColor);
// Scale and Draw the program
gs_matrix_push();
gs_matrix_translate3f(window->sourceX, window->sourceY, 0.0f);