fix: graph not showing on stream start when it's enabled with metal renderer
This commit is contained in:
1 parent
7a37d11aea
commit
8388076b71
1 file changed
+5
@@ -708,6 +708,11 @@
|
||||
[self.view addSubview:self.metalViewController.view];
|
||||
[self.metalViewController didMoveToParentViewController:self];
|
||||
[self.view bringSubviewToFront:self.metalViewController.view];
|
||||
|
||||
// Ensure ImGui view (graphs) is layered above Metal view
|
||||
if (self.imguiView && self.imguiView.mtkView.superview) {
|
||||
[self.view bringSubviewToFront:self.imguiView.mtkView];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user