diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-12-19 14:42:51 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-12-19 14:42:51 +0100 |
commit | 67356b45a3ff10f87e51dee254994670af8cdfce (patch) | |
tree | b93e595ac122e5e03d9a086a1cf06ad8736c307e /src | |
parent | ed1d76aaee193a2e5cec558930a25302bda35713 (diff) | |
download | glutin-67356b45a3ff10f87e51dee254994670af8cdfce.tar.gz glutin-67356b45a3ff10f87e51dee254994670af8cdfce.zip |
Fix compilation on cocoa
Diffstat (limited to 'src')
-rw-r--r-- | src/api/cocoa/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index 2ae2c23..5bc7e80 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -506,15 +506,15 @@ impl Window { NSOpenGLPFAOpenGLProfile as u32, profile, ]; - if reqs.release_behavior != ReleaseBehavior::Flush { + if pf_reqs.release_behavior != ReleaseBehavior::Flush { return Err(CreationError::NoAvailablePixelFormat); } - if reqs.stereoscopy { + if pf_reqs.stereoscopy { unimplemented!(); // TODO: } - if reqs.double_buffer == Some(false) { + if pf_reqs.double_buffer == Some(false) { unimplemented!(); // TODO: } |