From 47f3773146cd6686da8b73be1dc82c6c1e475a50 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 14 Feb 2022 15:18:38 +0000 Subject: [PATCH] Correct Depth classes --- core/sys/darwin/Metal/MetalClasses.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sys/darwin/Metal/MetalClasses.odin b/core/sys/darwin/Metal/MetalClasses.odin index ea0cf2682..895d72839 100644 --- a/core/sys/darwin/Metal/MetalClasses.odin +++ b/core/sys/darwin/Metal/MetalClasses.odin @@ -6221,8 +6221,8 @@ Methods: DepthStencilState :: struct { using _: NS.Object } @(objc_type=DepthStencilState, objc_name="device") -DepthStencilState_device :: #force_inline proc(self: ^DepthStencilState) -> ^DepthStencilState { - return msgSend(^DepthStencilState, self, "device") +DepthStencilState_device :: #force_inline proc(self: ^DepthStencilState) -> ^Device { + return msgSend(^Device, self, "device") } @(objc_type=DepthStencilState, objc_name="label") DepthStencilState_label :: #force_inline proc(self: ^DepthStencilState) -> ^NS.String {