mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
This commit is contained in:
parent
b8900782b0
commit
466faac2a5
223 changed files with 4414 additions and 4105 deletions
|
@ -179,7 +179,7 @@ pub fn default_opts() -> Opts {
|
|||
dump_flow_tree: false,
|
||||
validate_display_list_geometry: false,
|
||||
profile_tasks: false,
|
||||
render_api: OpenGL,
|
||||
render_api: RenderApi::OpenGL,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -298,8 +298,8 @@ pub fn from_cmdline_args(args: &[String]) -> bool {
|
|||
};
|
||||
|
||||
let render_api = match opt_match.opt_str("r").unwrap_or("gl".to_string()).as_slice() {
|
||||
"mesa" => Mesa,
|
||||
"gl" => OpenGL,
|
||||
"mesa" => RenderApi::Mesa,
|
||||
"gl" => RenderApi::OpenGL,
|
||||
_ => {
|
||||
args_fail("Unknown render api specified");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue