aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-14 15:46:22 +0100
committerGitHub <noreply@github.com>2025-08-14 15:46:22 +0100
commitaff96e7d3fac56a09a94247a71aeadb7b91a1b79 (patch)
treec050acdcfe890056ee55a13440424b457b0304c2
parent71e992d5bf0e3169ddaa90347e6cd264d5394de4 (diff)
parentbc78aad45fdde11b21b6c6c4c102ca65f78c20c4 (diff)
Merge pull request #5583 from slowhei/master
Fix Typo in `Device_newBufferWithSliceNoCopy`
-rw-r--r--vendor/darwin/Metal/MetalClasses.odin2
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 {