Fix multi-window example for Glutin on MacOS

This commit is contained in:
Bingus 2023-01-02 21:06:59 -08:00 committed by bungoboingo
parent f43419d475
commit 1944e98f82
3 changed files with 90 additions and 75 deletions

View file

@ -320,6 +320,7 @@ async fn run_instance<A, E, C>(
for (&id, window) in windows.keys().zip(windows.values()) {
let mut surface = compositor.create_surface(window);
println!("Creating surface for window: {:?}", window);
let state = State::new(&application, window);