Warning fixes for OS X.

This commit is contained in:
Josh Matthews 2015-09-28 12:19:36 -04:00
parent 3e11e5ef69
commit 77b3743117
10 changed files with 17 additions and 19 deletions

View file

@ -69,8 +69,6 @@ pub fn load(window: &glutin::Window) -> Context {
impl Context {
pub fn draw_frame(&self, color: (f32, f32, f32, f32)) {
use std::mem;
unsafe {
self.gl.ClearColor(color.0, color.1, color.2, color.3);
self.gl.Clear(gl::COLOR_BUFFER_BIT);