Skip to content

Commit

Permalink
Update glow_integration.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Feb 22, 2024
1 parent ed27df2 commit b78af74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/eframe/src/native/glow_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ impl GlowWinitRunning {
is_change_to_root = true;

if let Some(parent_viewport) = glutin.viewports.get(&viewport.ids.parent) {
let is_differed_parent = parent_viewport.viewport_ui_cb.is_some();
if is_differed_parent {
let is_deferred_parent = parent_viewport.viewport_ui_cb.is_some();
if is_deferred_parent {
is_change_to_root = false;
viewport_id = parent_viewport.ids.this;
}
Expand Down

0 comments on commit b78af74

Please sign in to comment.