renderer: remove unused surface parameter from updateFrame
parent
8b9e6641f2
commit
a802108558
|
|
@ -605,7 +605,6 @@ fn renderCallback(
|
|||
|
||||
// Update our frame data
|
||||
t.renderer.updateFrame(
|
||||
t.surface,
|
||||
t.state,
|
||||
t.flags.cursor_blink_visible,
|
||||
) catch |err|
|
||||
|
|
|
|||
|
|
@ -1027,12 +1027,9 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
|
|||
/// Update the frame data.
|
||||
pub fn updateFrame(
|
||||
self: *Self,
|
||||
surface: *apprt.Surface,
|
||||
state: *renderer.State,
|
||||
cursor_blink_visible: bool,
|
||||
) !void {
|
||||
_ = surface;
|
||||
|
||||
// Data we extract out of the critical area.
|
||||
const Critical = struct {
|
||||
bg: terminal.color.RGB,
|
||||
|
|
|
|||
Loading…
Reference in New Issue