build: fix wrongly named feature

This commit is contained in:
Victor Brekenfeld 2018-11-22 12:13:11 +01:00
parent 7e3217f96d
commit 079ad953a4
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#[cfg(any(feature = "backend_egl", feature = "backend_gl"))]
#[cfg(any(feature = "backend_egl", feature = "renderer_gl"))]
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 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() {}