mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
renderer/metal: do not be unhealthy by default :)
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user