mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Switch the default windowing system to glutin. See below for details.
This change makes glutin the default windowing system on mac/linux. If you run into any issues with the glutin system, you can temporarily build the GLFW system with the following command: cd components/servo ../../mach cargo build --no-default-features --features=glfw Once any glutin related issues have been sorted out, the GLFW port will be removed.
This commit is contained in:
parent
e4f0b816d5
commit
a7d18f9c03
2 changed files with 4 additions and 4 deletions
|
@ -27,8 +27,8 @@ path = "../../tests/contenttest.rs"
|
|||
harness = false
|
||||
|
||||
[features]
|
||||
default = ["glfw_app"]
|
||||
glutin = ["glutin_app"]
|
||||
default = ["glutin_app"]
|
||||
glfw = ["glfw_app"]
|
||||
|
||||
[dependencies.compositing]
|
||||
path = "../compositing"
|
||||
|
|
|
@ -14,9 +14,9 @@ extern crate servo;
|
|||
extern crate time;
|
||||
extern crate "util" as servo_util;
|
||||
|
||||
#[cfg(all(feature = "glutin",not(test)))]
|
||||
#[cfg(all(feature = "glutin_app",not(test)))]
|
||||
extern crate "glutin_app" as app;
|
||||
#[cfg(all(feature = "glfw_app",not(test)))]
|
||||
#[cfg(all(feature = "glfw",not(test)))]
|
||||
extern crate "glfw_app" as app;
|
||||
|
||||
#[cfg(not(test))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue