aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/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:
}