mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 14:50:04 -04:00
Merge pull request #60 from DavidPartouche/mac-compilation-error
Fixed a compilation error: setContentview changed setContentView_
This commit is contained in:
@@ -135,7 +135,7 @@ impl Window {
|
|||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
view.setWantsBestResolutionOpenGLSurface_(true);
|
view.setWantsBestResolutionOpenGLSurface_(true);
|
||||||
window.setContentView(view);
|
window.setContentView_(view);
|
||||||
Some(view)
|
Some(view)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user