equal
deleted
inserted
replaced
116 unsafe { |
116 unsafe { |
117 gl::ClearColor(0.4f32, 0f32, 0.2f32, 1f32); |
117 gl::ClearColor(0.4f32, 0f32, 0.2f32, 1f32); |
118 gl::Clear(gl::COLOR_BUFFER_BIT); |
118 gl::Clear(gl::COLOR_BUFFER_BIT); |
119 } |
119 } |
120 |
120 |
121 renderer.render(self.camera.viewport()); |
121 renderer.render(&self.camera); |
122 } |
122 } |
123 } |
123 } |
124 |
124 |
125 fn get_unused_gear_id(&mut self) -> GearId { |
125 fn get_unused_gear_id(&mut self) -> GearId { |
126 let id = self.last_gear_id; |
126 let id = self.last_gear_id; |