renderer/metal: remove unnecessary logs

This commit is contained in:
Mitchell Hashimoto
2024-05-03 20:54:46 -07:00
parent ac813c9244
commit 92caea6948

View File

@ -747,10 +747,8 @@ pub fn setVisible(self: *Metal, visible: bool) void {
if (comptime DisplayLink != void) link: { if (comptime DisplayLink != void) link: {
const display_link = self.display_link orelse break :link; const display_link = self.display_link orelse break :link;
if (visible and self.focused) { if (visible and self.focused) {
log.warn("starting display link because window is visible", .{});
display_link.start() catch {}; display_link.start() catch {};
} else { } else {
log.warn("stopping display link because window is not visible", .{});
display_link.stop() catch {}; display_link.stop() catch {};
} }
} }