mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Fix compilation on cocoa
This commit is contained in:
@@ -506,15 +506,15 @@ impl Window {
|
|||||||
NSOpenGLPFAOpenGLProfile as u32, profile,
|
NSOpenGLPFAOpenGLProfile as u32, profile,
|
||||||
];
|
];
|
||||||
|
|
||||||
if reqs.release_behavior != ReleaseBehavior::Flush {
|
if pf_reqs.release_behavior != ReleaseBehavior::Flush {
|
||||||
return Err(CreationError::NoAvailablePixelFormat);
|
return Err(CreationError::NoAvailablePixelFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
if reqs.stereoscopy {
|
if pf_reqs.stereoscopy {
|
||||||
unimplemented!(); // TODO:
|
unimplemented!(); // TODO:
|
||||||
}
|
}
|
||||||
|
|
||||||
if reqs.double_buffer == Some(false) {
|
if pf_reqs.double_buffer == Some(false) {
|
||||||
unimplemented!(); // TODO:
|
unimplemented!(); // TODO:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user