mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Don't run headless test on linux
This commit is contained in:
parent
c6c4dfdd1e
commit
898a411c86
|
@ -8,8 +8,9 @@ mod gl {
|
||||||
}
|
}
|
||||||
use gl::types::*;
|
use gl::types::*;
|
||||||
|
|
||||||
|
#[cfg(not(target_os = "linux"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn main() {
|
fn test_headless() {
|
||||||
let width: i32 = 2;
|
let width: i32 = 2;
|
||||||
let height: i32 = 1;
|
let height: i32 = 1;
|
||||||
let window = glutin::HeadlessRendererBuilder::new(width as u32, height as u32).build().unwrap();
|
let window = glutin::HeadlessRendererBuilder::new(width as u32, height as u32).build().unwrap();
|
||||||
|
|
Loading…
Reference in a new issue