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

pull/13286/head
Delyan Angelov 2022-01-26 15:32:06 +02:00
parent 291a1ffd8d
commit 2d184559b6
1 changed files with 1 additions and 1 deletions

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) { pub fn (ctx &Context) draw_circle_line(x f32, y f32, r int, segments int, c gx.Color) {
$if macos { $if macos {
if ctx.native_rendering { 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 return
} }
} }