build: fix wrongly named feature
This commit is contained in:
parent
7e3217f96d
commit
079ad953a4
6
build.rs
6
build.rs
|
@ -1,7 +1,7 @@
|
||||||
#[cfg(any(feature = "backend_egl", feature = "backend_gl"))]
|
#[cfg(any(feature = "backend_egl", feature = "renderer_gl"))]
|
||||||
extern crate gl_generator;
|
extern crate gl_generator;
|
||||||
|
|
||||||
#[cfg(any(feature = "backend_egl", feature = "backend_gl"))]
|
#[cfg(any(feature = "backend_egl", feature = "renderer_gl"))]
|
||||||
use gl_generator::{Api, Fallbacks, Profile, Registry};
|
use gl_generator::{Api, Fallbacks, Profile, Registry};
|
||||||
use std::{env, fs::File, path::PathBuf};
|
use std::{env, fs::File, path::PathBuf};
|
||||||
|
|
||||||
|
@ -50,5 +50,5 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(feature = "backend_egl", feature = "backend_gl")))]
|
#[cfg(not(any(feature = "backend_egl", feature = "renderer_gl")))]
|
||||||
fn main() {}
|
fn main() {}
|
Loading…
Reference in New Issue