mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
Fix the typing error when building on Linux
Co-authored-by: Gareth Widlansky <101901964+gerblesh@users.noreply.github.com>
This commit is contained in:

committed by
Mitchell Hashimoto

parent
2993d12de7
commit
28bbd526f2
@ -2344,9 +2344,9 @@ fn drawCellProgram(
|
|||||||
|
|
||||||
// Clear the surface
|
// Clear the surface
|
||||||
gl.clearColor(
|
gl.clearColor(
|
||||||
@as(f32, @floatFromInt(self.draw_background.r)) / 255 * self.config.background_opacity,
|
@floatCast(@as(f32, @floatFromInt(self.draw_background.r)) / 255 * self.config.background_opacity),
|
||||||
@as(f32, @floatFromInt(self.draw_background.g)) / 255 * self.config.background_opacity,
|
@floatCast(@as(f32, @floatFromInt(self.draw_background.g)) / 255 * self.config.background_opacity),
|
||||||
@as(f32, @floatFromInt(self.draw_background.b)) / 255 * self.config.background_opacity,
|
@floatCast(@as(f32, @floatFromInt(self.draw_background.b)) / 255 * self.config.background_opacity),
|
||||||
@floatCast(self.config.background_opacity),
|
@floatCast(self.config.background_opacity),
|
||||||
);
|
);
|
||||||
gl.clear(gl.c.GL_COLOR_BUFFER_BIT);
|
gl.clear(gl.c.GL_COLOR_BUFFER_BIT);
|
||||||
|
Reference in New Issue
Block a user