renderer/metal: do not be unhealthy by default :)

This commit is contained in:
Mitchell Hashimoto
2024-01-16 11:28:01 -08:00
parent 376345dcae
commit c28f2e36cc

View File

@ -896,7 +896,7 @@ fn bufferCompleted(
const status = buffer.getProperty(mtl.MTLCommandBufferStatus, "status"); const status = buffer.getProperty(mtl.MTLCommandBufferStatus, "status");
const health: Health = switch (status) { const health: Health = switch (status) {
.@"error" => .unhealthy, .@"error" => .unhealthy,
else => .unhealthy, else => .healthy,
}; };
// If our health value hasn't changed, then we do nothing. We don't // If our health value hasn't changed, then we do nothing. We don't