Get rid of initial reshape.

This commit is contained in:
Jack Moffitt 2013-06-14 13:33:36 -06:00
parent ddf7c94a5e
commit 7278d4867d

View file

@ -60,8 +60,8 @@ impl WindowMethods<Application> for Window {
/// Creates a new window. /// Creates a new window.
pub fn new(_: &Application) -> @mut Window { pub fn new(_: &Application) -> @mut Window {
// Create the GLUT window. // Create the GLUT window.
unsafe { glut::bindgen::glutInitWindowSize(800, 600); }
let glut_window = glut::create_window(~"Servo"); let glut_window = glut::create_window(~"Servo");
glut::reshape_window(glut_window, 800, 600);
// Create our window object. // Create our window object.
let window = @mut Window { let window = @mut Window {