mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Fix compilation on cocoa
This commit is contained in:
@@ -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:
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user