Stop using old_path in compositing.

This commit is contained in:
Ms2ger 2015-03-26 08:59:16 +01:00
parent 96fb1dac3d
commit b5bc73f5cb
2 changed files with 1 additions and 4 deletions

View file

@ -38,7 +38,6 @@ use profile::time::{self, ProfilerCategory, profile};
use std::cmp;
use std::collections::HashMap;
use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::old_path::Path;
use std::mem::replace;
use std::num::Float;
use std::rc::Rc;
@ -1131,8 +1130,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
});
if output_image {
let path: Path =
opts::get().output_file.as_ref().unwrap().parse().unwrap();
let path = opts::get().output_file.as_ref().unwrap();
let mut pixels = gl::read_pixels(0, 0,
width as gl::GLsizei,
height as gl::GLsizei,

View file

@ -6,7 +6,6 @@
#![feature(core)]
#![feature(int_uint)]
#![feature(old_io)]
#![feature(old_path)]
#![feature(rustc_private)]
#![feature(std_misc)]