From 77b37431173a7267835f01915f7bc604d9f5a6ff Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 28 Sep 2015 12:19:36 -0400 Subject: Warning fixes for OS X. --- examples/support/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/support') diff --git a/examples/support/mod.rs b/examples/support/mod.rs index ab8e2a1..f05e425 100644 --- a/examples/support/mod.rs +++ b/examples/support/mod.rs @@ -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); -- cgit v1.2.3