mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
Fixed a compilation error: setContentview changed setContentView_
This commit is contained in:
parent
2a29e4d743
commit
5969cfe886
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue