diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-06-20 11:39:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-20 11:39:58 +0100 |
| commit | 7184792f7ab31fcea9b892ece42440b3b225f414 (patch) | |
| tree | f8f082bb0871ad34e715e39726d477d43b325bc5 /core/sys | |
| parent | d4aa6c3288f9b28560e55239a92466f87066fb39 (diff) | |
| parent | 108b8feb357dab8b3faf788c382406567bd99d33 (diff) | |
Merge pull request #3740 from laytan/wgpu
Add `vendor:wgpu`
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/darwin/Foundation/NSWindow.odin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/sys/darwin/Foundation/NSWindow.odin b/core/sys/darwin/Foundation/NSWindow.odin index 7159a7c3a..e6103a58a 100644 --- a/core/sys/darwin/Foundation/NSWindow.odin +++ b/core/sys/darwin/Foundation/NSWindow.odin @@ -712,3 +712,7 @@ Window_setDelegate :: proc "c" (self: ^Window, delegate: ^WindowDelegate) { Window_backingScaleFactor :: proc "c" (self: ^Window) -> Float { return msgSend(Float, self, "backingScaleFactor") } +@(objc_type=Window, objc_name="setWantsLayer") +Window_setWantsLayer :: proc "c" (self: ^Window, ok: BOOL) { + msgSend(nil, self, "setWantsLayer:", ok) +} |