mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-05 09:26:32 +00:00
update the font atlas if there are changes
This commit is contained in:
@@ -499,6 +499,9 @@ fn renderTimerCallback(t: *libuv.Timer) void {
|
||||
// Update the cells for drawing
|
||||
win.grid.updateCells(win.terminal) catch unreachable;
|
||||
|
||||
// Update our texture if we have to
|
||||
win.grid.flushAtlas() catch unreachable;
|
||||
|
||||
// Set our background
|
||||
gl.clearColor(win.bg_r, win.bg_g, win.bg_b, win.bg_a);
|
||||
gl.clear(gl.c.GL_COLOR_BUFFER_BIT);
|
||||
|
Reference in New Issue
Block a user