mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +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
|
||||
// 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.
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user