mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
42f0671531
* x11: Windows are Sync again Fixes #472 * Add test ensuring that Window is Sync Window must be Sync for Vulkano's Arc<FramebufferAbstract> to be usable.
10 lines
167 B
Rust
10 lines
167 B
Rust
extern crate winit;
|
|
|
|
fn needs_sync<T:Sync>() {}
|
|
|
|
#[test]
|
|
fn window_sync() {
|
|
// ensures that `winit::Window` implements `Sync`
|
|
needs_sync::<winit::Window>();
|
|
}
|