Skip to content

Commit

Permalink
Remove static mut in graphics_device.rs (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- authored Jan 27, 2025
1 parent ef454f3 commit c9bcfec
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 101 deletions.
3 changes: 3 additions & 0 deletions crates/ark/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ impl RMain {
session_mode,
)));

// Initialize the GD context on this thread
graphics_device::init_graphics_device();

let main = RMain::get_mut();

let mut r_args = r_args.clone();
Expand Down
Loading

0 comments on commit c9bcfec

Please sign in to comment.