aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-12-19 14:42:51 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-12-19 14:42:51 +0100
commit67356b45a3ff10f87e51dee254994670af8cdfce (patch)
treeb93e595ac122e5e03d9a086a1cf06ad8736c307e
parented1d76aaee193a2e5cec558930a25302bda35713 (diff)
downloadglutin-67356b45a3ff10f87e51dee254994670af8cdfce.tar.gz
glutin-67356b45a3ff10f87e51dee254994670af8cdfce.zip
Fix compilation on cocoa
-rw-r--r--src/api/cocoa/mod.rs6
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:
}