Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 13, 2023
1 parent b179ddc commit 4d7fc70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/eframe/src/native/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1892,6 +1892,8 @@ mod wgpu_integration {
struct WgpuWinitRunning {
integration: epi_integration::EpiIntegration,
app: Box<dyn epi::App>,

/// Wrapped in an `Rc<RefCell<…>>` so it can be re-entrantly shared via a weak-pointer.
shared: Rc<RefCell<SharedState>>,
}

Expand Down

0 comments on commit 4d7fc70

Please sign in to comment.