aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/osmesa/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-05-09 07:04:01 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-05-09 07:04:01 +0200
commit9ba9bfc369a211d96688a785a0bfe9d572d8638b (patch)
tree3088cf5a56d0e96a47301a17ac376552c338a94a /src/api/osmesa/mod.rs
parent3f20bf345e4464ab83e7b8d1737b0173ec7b6d4f (diff)
parentc973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (diff)
downloadglutin-9ba9bfc369a211d96688a785a0bfe9d572d8638b.tar.gz
glutin-9ba9bfc369a211d96688a785a0bfe9d572d8638b.zip
Merge pull request #439 from Esption/master
Fixed build warnings on Linux
Diffstat (limited to 'src/api/osmesa/mod.rs')
-rw-r--r--src/api/osmesa/mod.rs1
1 files changed, 1 insertions, 0 deletions
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<fn(u32, u32)>) {
}