mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-16 06:46:09 +00:00
renderer: remove unused surface parameter from updateFrame
This commit is contained in:
@@ -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|
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user