mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 15:46:13 -04:00
Revert "UI: Fix preview rendering order"
This reverts commit bb34315f90.
This commit is contained in:
@@ -4437,9 +4437,6 @@ void OBSBasic::RenderMain(void *data, uint32_t, uint32_t)
|
||||
|
||||
window->ui->preview->DrawSceneEditing();
|
||||
|
||||
if (window->drawSpacingHelpers)
|
||||
window->ui->preview->DrawSpacingHelpers();
|
||||
|
||||
uint32_t targetCX = window->previewCX;
|
||||
uint32_t targetCY = window->previewCY;
|
||||
|
||||
@@ -4453,6 +4450,9 @@ void OBSBasic::RenderMain(void *data, uint32_t, uint32_t)
|
||||
RenderSafeAreas(window->rightLine, targetCX, targetCY);
|
||||
}
|
||||
|
||||
if (window->drawSpacingHelpers)
|
||||
window->ui->preview->DrawSpacingHelpers();
|
||||
|
||||
/* --------------------------------------- */
|
||||
|
||||
gs_projection_pop();
|
||||
|
||||
Reference in New Issue
Block a user