diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-02-14 14:24:36 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2022-02-14 14:24:36 +0000 |
| commit | bef806bef479c5a7b952369ca07538952813e2fe (patch) | |
| tree | 55d528decfe90a537d352d0b0142210a03213675 /core/sys | |
| parent | 95e9bbf99f3110194edb20f166e896f8cadc68d7 (diff) | |
Update Capture Manager classes
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/darwin/Metal/MetalClasses.odin | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/sys/darwin/Metal/MetalClasses.odin b/core/sys/darwin/Metal/MetalClasses.odin index c025778ea..6ce2d940d 100644 --- a/core/sys/darwin/Metal/MetalClasses.odin +++ b/core/sys/darwin/Metal/MetalClasses.odin @@ -1077,8 +1077,8 @@ CaptureDescriptor_init :: #force_inline proc(self: ^CaptureDescriptor) -> ^Captu return msgSend(^CaptureDescriptor, self, "init") } @(objc_type=CaptureDescriptor, objc_name="captureObject") -CaptureDescriptor_captureObject :: #force_inline proc(self: ^CaptureDescriptor) -> ^CaptureDescriptor { - return msgSend(^CaptureDescriptor, self, "captureObject") +CaptureDescriptor_captureObject :: #force_inline proc(self: ^CaptureDescriptor) -> id { + return msgSend(id, self, "captureObject") } @(objc_type=CaptureDescriptor, objc_name="destination") CaptureDescriptor_destination :: #force_inline proc(self: ^CaptureDescriptor) -> CaptureDestination { @@ -1143,12 +1143,12 @@ CaptureManager_isCapturing :: #force_inline proc(self: ^CaptureManager) -> BOOL return msgSend(BOOL, self, "isCapturing") } @(objc_type=CaptureManager, objc_name="newCaptureScopeWithCommandQueue") -CaptureManager_newCaptureScopeWithCommandQueue :: #force_inline proc(self: ^CaptureManager, commandQueue: ^CommandQueue) -> ^CaptureManager { - return msgSend(^CaptureManager, self, "newCaptureScopeWithCommandQueue:", commandQueue) +CaptureManager_newCaptureScopeWithCommandQueue :: #force_inline proc(self: ^CaptureManager, commandQueue: ^CommandQueue) -> ^CaptureScope { + return msgSend(^CaptureScope, self, "newCaptureScopeWithCommandQueue:", commandQueue) } @(objc_type=CaptureManager, objc_name="newCaptureScopeWithDevice") -CaptureManager_newCaptureScopeWithDevice :: #force_inline proc(self: ^CaptureManager, device: ^Device) -> ^CaptureManager { - return msgSend(^CaptureManager, self, "newCaptureScopeWithDevice:", device) +CaptureManager_newCaptureScopeWithDevice :: #force_inline proc(self: ^CaptureManager, device: ^Device) -> ^CaptureScope { + return msgSend(^CaptureScope, self, "newCaptureScopeWithDevice:", device) } @(objc_type=CaptureManager, objc_name="setDefaultCaptureScope") CaptureManager_setDefaultCaptureScope :: #force_inline proc(self: ^CaptureManager, defaultCaptureScope: ^CaptureScope) { |