mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-03 07:10:05 -04:00
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