Skip to content

Commit d8f036b

Browse files
authored
Merge pull request linebender#4 from Cupnfish/fix-not-working-on-macOs-13.0
fix not working in macOs 13.0 Beta
2 parents ae9a85d + 5f94bdc commit d8f036b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

druid-shell/src/backend/mac/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ fn make_view(
637637
renderer: WgpuRenderer,
638638
) -> id {
639639
unsafe {
640-
let view: id = msg_send![VIEW_CLASS.0, alloc];
640+
let view: id = msg_send![VIEW_CLASS.0, new];
641641
let options: NSAutoresizingMaskOptions = NSViewWidthSizable | NSViewHeightSizable;
642642
view.setAutoresizingMask_(options);
643643

0 commit comments

Comments
 (0)