Remove window dependency from PipGui
PiperOrigin-RevId: 901115560 Change-Id: I85183a91fd07682f17f43fcfad593dececdde28c
This commit is contained in:
committed by
Copybara-Service
parent
506aa79ad8
commit
f91ce9a627
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user