Correct method name

This commit is contained in:
gingerBill
2022-02-12 22:03:15 +00:00
parent b8479ea79d
commit 8966294823
+4 -4
View File
@@ -6051,7 +6051,7 @@ Methods:
newRenderPipelineStateWithDescriptor newRenderPipelineStateWithDescriptor
newRenderPipelineStateWithTileDescriptor newRenderPipelineStateWithTileDescriptor
newRenderPipelineStateWithTileDescriptor newRenderPipelineStateWithTileDescriptor
newSamplerStateWithDescriptor newSamplerState
newSharedEvent newSharedEvent
newSharedEventWithHandle newSharedEventWithHandle
newSharedTextureWithDescriptor newSharedTextureWithDescriptor
@@ -6357,9 +6357,9 @@ Device_newRenderPipelineStateWithTileDescriptorWithReflection :: #force_inline p
device = msgSend(^Device, self, "newRenderPipelineStateWithTileDescriptor:options:reflection:error:", descriptor, options, reflection, &error) device = msgSend(^Device, self, "newRenderPipelineStateWithTileDescriptor:options:reflection:error:", descriptor, options, reflection, &error)
return return
} }
@(objc_type=Device, objc_name="newSamplerStateWithDescriptor") @(objc_type=Device, objc_name="newSamplerState")
Device_newSamplerStateWithDescriptor :: #force_inline proc(self: ^Device, descriptor: ^SamplerDescriptor) -> ^Device { Device_newSamplerState :: #force_inline proc(self: ^Device, descriptor: ^SamplerDescriptor) -> ^Device {
return msgSend(^Device, self, "newSamplerStateWithDescriptor:", descriptor) return msgSend(^Device, self, "newSamplerState:", descriptor)
} }
@(objc_type=Device, objc_name="newSharedEvent") @(objc_type=Device, objc_name="newSharedEvent")
Device_newSharedEvent :: #force_inline proc(self: ^Device) -> ^Device { Device_newSharedEvent :: #force_inline proc(self: ^Device) -> ^Device {