diff options
| author | Tohei Ichikawa <ichikawa.tohei.desu@gmail.com> | 2025-08-14 09:56:36 -0400 |
|---|---|---|
| committer | Tohei Ichikawa <ichikawa.tohei.desu@gmail.com> | 2025-08-14 09:56:36 -0400 |
| commit | bc78aad45fdde11b21b6c6c4c102ca65f78c20c4 (patch) | |
| tree | c050acdcfe890056ee55a13440424b457b0304c2 /vendor | |
| parent | 71e992d5bf0e3169ddaa90347e6cd264d5394de4 (diff) | |
Fix typo in newBufferWithSliceNoCopy
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/darwin/Metal/MetalClasses.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/darwin/Metal/MetalClasses.odin b/vendor/darwin/Metal/MetalClasses.odin index a4c7b43f2..67cf84f1e 100644 --- a/vendor/darwin/Metal/MetalClasses.odin +++ b/vendor/darwin/Metal/MetalClasses.odin @@ -5581,7 +5581,7 @@ Device_newBufferWithSlice :: #force_inline proc "c" (self: ^Device, slice: $S/[] } @(objc_type=Device, objc_name="newBufferWithSliceNoCopy") Device_newBufferWithSliceNoCopy :: #force_inline proc "c" (self: ^Device, slice: $S/[]$E, options: ResourceOptions, deallocator: rawptr) -> ^Buffer { - return Device_newBufferWithBytesNotCopy(self, mem.slice_to_bytes(slice), options, deallocator) + return Device_newBufferWithBytesNoCopy(self, mem.slice_to_bytes(slice), options, deallocator) } @(objc_type=Device, objc_name="newBufferWithLength") Device_newBufferWithLength :: #force_inline proc "c" (self: ^Device, length: NS.UInteger, options: ResourceOptions) -> ^Buffer { |