mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.
This commit is contained in:
parent
59bca2962c
commit
0f525d908d
10 changed files with 462 additions and 449 deletions
|
@ -276,9 +276,6 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
|
|||
if reftest.experimental {
|
||||
command.arg("--experimental");
|
||||
}
|
||||
if cfg!(target_os = "linux") {
|
||||
command.args(["-r", "mesa"].as_slice());
|
||||
}
|
||||
let retval = match command.status() {
|
||||
Ok(status) => status,
|
||||
Err(e) => panic!("failed to execute process: {}", e),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue