mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-08 10:56:34 +00:00
@@ -853,6 +853,7 @@ fn prepKittyGraphics(
|
||||
};
|
||||
|
||||
const new_image: Image = switch (image.format) {
|
||||
.grey_alpha => .{ .pending_grey_alpha = pending },
|
||||
.rgb => .{ .pending_rgb = pending },
|
||||
.rgba => .{ .pending_rgba = pending },
|
||||
.png => unreachable, // should be decoded by now
|
||||
@@ -1802,8 +1803,10 @@ pub fn drawFrame(self: *OpenGL, surface: *apprt.Surface) !void {
|
||||
switch (kv.value_ptr.image) {
|
||||
.ready => {},
|
||||
|
||||
.pending_grey_alpha,
|
||||
.pending_rgb,
|
||||
.pending_rgba,
|
||||
.replace_grey_alpha,
|
||||
.replace_rgb,
|
||||
.replace_rgba,
|
||||
=> try kv.value_ptr.image.upload(self.alloc),
|
||||
|
Reference in New Issue
Block a user