mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -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
|
||||
} else {
|
||||
view.setWantsBestResolutionOpenGLSurface_(true);
|
||||
window.setContentView(view);
|
||||
window.setContentView_(view);
|
||||
Some(view)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user