mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
Fix compilation on cocoa
This commit is contained in:
parent
ed1d76aaee
commit
67356b45a3
|
@ -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:
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue