From c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 Mon Sep 17 00:00:00 2001 From: Esption Date: Fri, 8 May 2015 12:31:56 -0500 Subject: Fixed build warnings --- src/api/osmesa/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/api/osmesa/mod.rs') diff --git a/src/api/osmesa/mod.rs b/src/api/osmesa/mod.rs index 22df72a..26808f7 100644 --- a/src/api/osmesa/mod.rs +++ b/src/api/osmesa/mod.rs @@ -60,6 +60,7 @@ impl OsMesaContext { (self.width, self.height) } + #[allow(dead_code)] // TODO: can we remove this without causing havoc? pub fn set_window_resize_callback(&mut self, _: Option) { } -- cgit v1.2.3