mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
font/sprite: clarify log
This commit is contained in:
@ -156,8 +156,12 @@ pub const Canvas = struct {
|
|||||||
// ignore it, so that this method (and `rect` which uses it) have
|
// ignore it, so that this method (and `rect` which uses it) have
|
||||||
// implicit bounds clipping.
|
// implicit bounds clipping.
|
||||||
},
|
},
|
||||||
else => {
|
|
||||||
std.log.err("Wtf? err={}", .{e});
|
error.InvalidHeight,
|
||||||
|
error.InvalidWidth,
|
||||||
|
error.InvalidPixelFormat,
|
||||||
|
=> {
|
||||||
|
std.log.err("unexpected (considered impossible) error err={}", .{e});
|
||||||
unreachable; // This shouldn't be possible.
|
unreachable; // This shouldn't be possible.
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user