blob: b9ae5981e903dfcda3d4e03f09d4546d69078af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![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() };
}
|