mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Get rid of initial reshape.
This commit is contained in:
parent
ddf7c94a5e
commit
7278d4867d
1 changed files with 1 additions and 1 deletions
|
@ -60,8 +60,8 @@ impl WindowMethods<Application> for Window {
|
|||
/// Creates a new window.
|
||||
pub fn new(_: &Application) -> @mut Window {
|
||||
// Create the GLUT window.
|
||||
unsafe { glut::bindgen::glutInitWindowSize(800, 600); }
|
||||
let glut_window = glut::create_window(~"Servo");
|
||||
glut::reshape_window(glut_window, 800, 600);
|
||||
|
||||
// Create our window object.
|
||||
let window = @mut Window {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue