mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-13 23:36:09 +03:00
fix(renderer/Metal): properly load cursor color
This commit is contained in:
@ -473,7 +473,11 @@ vertex CellTextVertexOut cell_text_vertex(
|
||||
) &&
|
||||
in.grid_pos.y == uniforms.cursor_pos.y
|
||||
) {
|
||||
out.color = float4(uniforms.cursor_color) / 255.0f;
|
||||
out.color = load_color(
|
||||
uniforms.cursor_color,
|
||||
uniforms.use_display_p3,
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
return out;
|
||||
|
Reference in New Issue
Block a user