renderer: remove unused surface parameter from updateFrame

This commit is contained in:
Qwerasd
2025-06-20 15:49:53 -06:00
parent 8b9e6641f2
commit a802108558
2 changed files with 0 additions and 4 deletions

View File

@@ -605,7 +605,6 @@ fn renderCallback(
// Update our frame data // Update our frame data
t.renderer.updateFrame( t.renderer.updateFrame(
t.surface,
t.state, t.state,
t.flags.cursor_blink_visible, t.flags.cursor_blink_visible,
) catch |err| ) catch |err|

View File

@@ -1027,12 +1027,9 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
/// Update the frame data. /// Update the frame data.
pub fn updateFrame( pub fn updateFrame(
self: *Self, self: *Self,
surface: *apprt.Surface,
state: *renderer.State, state: *renderer.State,
cursor_blink_visible: bool, cursor_blink_visible: bool,
) !void { ) !void {
_ = surface;
// Data we extract out of the critical area. // Data we extract out of the critical area.
const Critical = struct { const Critical = struct {
bg: terminal.color.RGB, bg: terminal.color.RGB,