Remove window dependency from PipGui

PiperOrigin-RevId: 901115560
Change-Id: I85183a91fd07682f17f43fcfad593dececdde28c
This commit is contained in:
Matija Kecman
2026-04-17 00:10:42 -07:00
committed by Copybara-Service
parent 506aa79ad8
commit f91ce9a627
3 changed files with 8 additions and 10 deletions
+2 -1
View File
@@ -902,7 +902,8 @@ void App::BuildGui() {
if (tmp_.picture_in_picture) {
if (ImGui::Begin("Picture-in-Picture", &tmp_.picture_in_picture)) {
PipGui(model(), data(), window_.get(), renderer_.get(), &tmp_.pips);
platform::PipGui(model(), data(), window_->GetAspectRatio(),
renderer_.get(), &tmp_.pips);
}
ImGui::End();
}