aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/osmesa
diff options
context:
space:
mode:
authorEsption <esption@gmail.com>2015-05-08 12:31:56 -0500
committerEsption <esption@gmail.com>2015-05-08 12:31:56 -0500
commitc973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (patch)
tree64a7282c58e3ad6e7de4221b27840caeb857bd87 /src/api/osmesa
parent0d10dda72a3d56ec137da0359b2f46fc75b7aaa9 (diff)
downloadglutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.tar.gz
glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.zip
Fixed build warnings
Diffstat (limited to 'src/api/osmesa')
-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)>) {
}