From 741a8b3f47117d2d72af29c39627603595402168 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Mon, 24 Oct 2016 08:36:14 -0700 Subject: Fix some compiler warnings --- src/renderer/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/renderer') diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 959b3d4f..8ca82ba7 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -18,8 +18,6 @@ use std::io::{self, Read}; use std::mem::size_of; use std::path::{PathBuf}; use std::ptr; -use std::sync::Arc; -use std::sync::atomic::{Ordering, AtomicBool}; use std::sync::mpsc; use cgmath; @@ -490,9 +488,6 @@ impl QuadRenderer { gl::BindBuffer(gl::ARRAY_BUFFER, 0); } - let should_reload = Arc::new(AtomicBool::new(false)); - let should_reload2 = should_reload.clone(); - let (msg_tx, msg_rx) = mpsc::channel(); ::std::thread::spawn(move || { -- cgit v1.2.3-54-g00ecf