We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae9a85d + 5f94bdc commit d8f036bCopy full SHA for d8f036b
druid-shell/src/backend/mac/window.rs
@@ -637,7 +637,7 @@ fn make_view(
637
renderer: WgpuRenderer,
638
) -> id {
639
unsafe {
640
- let view: id = msg_send![VIEW_CLASS.0, alloc];
+ let view: id = msg_send![VIEW_CLASS.0, new];
641
let options: NSAutoresizingMaskOptions = NSViewWidthSizable | NSViewHeightSizable;
642
view.setAutoresizingMask_(options);
643
0 commit comments