From f9fc4883990d879b28361b308fc1406244756d16 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 14 Feb 2022 14:26:35 +0000 Subject: [PATCH] Correct CaptureScope --- core/sys/darwin/Metal/MetalClasses.odin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/sys/darwin/Metal/MetalClasses.odin b/core/sys/darwin/Metal/MetalClasses.odin index 6ce2d940d..b11c8f73d 100644 --- a/core/sys/darwin/Metal/MetalClasses.odin +++ b/core/sys/darwin/Metal/MetalClasses.odin @@ -5552,12 +5552,12 @@ CaptureScope_beginScope :: #force_inline proc(self: ^CaptureScope) { msgSend(nil, self, "beginScope") } @(objc_type=CaptureScope, objc_name="commandQueue") -CaptureScope_commandQueue :: #force_inline proc(self: ^CaptureScope) -> ^CaptureScope { - return msgSend(^CaptureScope, self, "commandQueue") +CaptureScope_commandQueue :: #force_inline proc(self: ^CaptureScope) -> ^CommandQueue { + return msgSend(^CommandQueue, self, "commandQueue") } @(objc_type=CaptureScope, objc_name="device") -CaptureScope_device :: #force_inline proc(self: ^CaptureScope) -> ^CaptureScope { - return msgSend(^CaptureScope, self, "device") +CaptureScope_device :: #force_inline proc(self: ^CaptureScope) -> ^Device { + return msgSend(^Device, self, "device") } @(objc_type=CaptureScope, objc_name="endScope") CaptureScope_endScope :: #force_inline proc(self: ^CaptureScope) {