aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa/headless.rs
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 /src/api/cocoa/headless.rs
parent3e11e5ef69cc714c067dff49834f0e782c8f7fc6 (diff)
downloadglutin-77b37431173a7267835f01915f7bc604d9f5a6ff.tar.gz
glutin-77b37431173a7267835f01915f7bc604d9f5a6ff.zip
Warning fixes for OS X.
Diffstat (limited to 'src/api/cocoa/headless.rs')
-rw-r--r--src/api/cocoa/headless.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/cocoa/headless.rs b/src/api/cocoa/headless.rs
index eb1a06f..49b8bc3 100644
--- a/src/api/cocoa/headless.rs
+++ b/src/api/cocoa/headless.rs
@@ -28,8 +28,8 @@ pub struct HeadlessContext {
}
impl HeadlessContext {
- pub fn new((width, height): (u32, u32), pf_reqs: &PixelFormatRequirements,
- opengl: &GlAttributes<&HeadlessContext>) -> Result<HeadlessContext, CreationError>
+ pub fn new((width, height): (u32, u32), _pf_reqs: &PixelFormatRequirements,
+ _opengl: &GlAttributes<&HeadlessContext>) -> Result<HeadlessContext, CreationError>
{
let context = unsafe {
let attributes = [