remove metal workaround completely

This commit is contained in:
Mitchell Hashimoto
2023-07-01 15:19:13 -07:00
parent 9968128da9
commit ce77002198
2 changed files with 0 additions and 9 deletions

View File

@ -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 });

View File

@ -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:"),