fix(renderer/Metal): properly load cursor color

This commit is contained in:
Qwerasd
2025-01-26 20:40:19 -05:00
parent 71e62f96fa
commit ac568900a5

View File

@ -473,7 +473,11 @@ vertex CellTextVertexOut cell_text_vertex(
) && ) &&
in.grid_pos.y == uniforms.cursor_pos.y 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; return out;