1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing draw_fns_api_test.v on macos (after rename)

This commit is contained in:
Delyan Angelov 2022-01-26 15:32:06 +02:00
parent 291a1ffd8d
commit 2d184559b6

View File

@ -445,7 +445,7 @@ pub fn (ctx &Context) draw_circle_with_segments(x f32, y f32, radius f32, segmen
pub fn (ctx &Context) draw_circle_line(x f32, y f32, r int, segments int, c gx.Color) {
$if macos {
if ctx.native_rendering {
C.darwin_draw_circle(x - r + 1, ctx.height - (y + r + 3), radius, c)
C.darwin_draw_circle(x - r + 1, ctx.height - (y + r + 3), r, c)
return
}
}