mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 05:10:57 +01:00
Fix compilation on cocoa
This commit is contained in:
1 parent
ed1d76aaee
commit
67356b45a3
1 file changed
+3
-3
@@ -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