mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
14 lines
244 B
Rust
14 lines
244 B
Rust
|
#![feature(phase)]
|
||
|
#![feature(tuple_indexing)]
|
||
|
|
||
|
extern crate glutin;
|
||
|
|
||
|
#[cfg(feature = "headless")]
|
||
|
#[test]
|
||
|
fn main() {
|
||
|
let window = glutin::HeadlessRendererBuilder::new(1024, 768).build().unwrap();
|
||
|
|
||
|
unsafe { window.make_current() };
|
||
|
|
||
|
}
|