aboutsummaryrefslogtreecommitdiffstats
path: root/examples/support
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-09-28 12:19:36 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-09-28 12:19:36 -0400
commit77b37431173a7267835f01915f7bc604d9f5a6ff (patch)
tree9f7040ca1718d0e77e0810db4873cee369067497 /examples/support
parent3e11e5ef69cc714c067dff49834f0e782c8f7fc6 (diff)
downloadglutin-77b37431173a7267835f01915f7bc604d9f5a6ff.tar.gz
glutin-77b37431173a7267835f01915f7bc604d9f5a6ff.zip
Warning fixes for OS X.
Diffstat (limited to 'examples/support')
-rw-r--r--examples/support/mod.rs2
1 files changed, 0 insertions, 2 deletions
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);