diff --git a/build.zig b/build.zig index 400872fbc..bedb87de9 100644 --- a/build.zig +++ b/build.zig @@ -395,9 +395,6 @@ pub fn build(b: *std.Build) !void { lib.linkLibC(); lib.addOptions("build_options", exe_options); - // See the comment in this file - lib.addCSourceFile("src/renderer/metal_workaround.c", &.{}); - // Create a single static lib with all our dependencies merged var lib_list = try addDeps(b, lib, true); try lib_list.append(.{ .generated = &lib.output_path_source }); @@ -427,9 +424,6 @@ pub fn build(b: *std.Build) !void { lib.linkLibC(); lib.addOptions("build_options", exe_options); - // See the comment in this file - lib.addCSourceFile("src/renderer/metal_workaround.c", &.{}); - // Create a single static lib with all our dependencies merged var lib_list = try addDeps(b, lib, true); try lib_list.append(.{ .generated = &lib.output_path_source }); diff --git a/src/renderer/Metal.zig b/src/renderer/Metal.zig index 9a704db01..943b9a6ea 100644 --- a/src/renderer/Metal.zig +++ b/src/renderer/Metal.zig @@ -1176,9 +1176,6 @@ fn syncAtlasTexture(device: objc.Object, atlas: *const font.Atlas, texture: *obj texture.* = try initAtlasTexture(device, atlas); } - // Once the above linked issue is fixed, this is what we actually - // want to do: - // texture.msgSend( void, objc.sel("replaceRegion:mipmapLevel:withBytes:bytesPerRow:"),