mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
renderer/metal: zig fmt
This commit is contained in:
@ -149,8 +149,8 @@ pub fn Buffer(comptime T: type) type {
|
||||
|
||||
for (lists) |list| {
|
||||
const ptr = @as([*]const u8, @ptrCast(list.items.ptr));
|
||||
@memcpy(dst[i..][0..list.items.len*@sizeOf(T)], ptr);
|
||||
i += list.items.len*@sizeOf(T);
|
||||
@memcpy(dst[i..][0 .. list.items.len * @sizeOf(T)], ptr);
|
||||
i += list.items.len * @sizeOf(T);
|
||||
}
|
||||
|
||||
return total_len;
|
||||
|
Reference in New Issue
Block a user