mirror of
https://github.com/vlang/v.git
synced 2025-09-09 15:27:05 -04:00
gg: fix draw arch functions alpha color (#14850)
This commit is contained in:
parent
d7f962ef6e
commit
d42aadda0f
@ -658,6 +658,10 @@ pub fn (ctx &Context) draw_arc_empty(x f32, y f32, inner_radius f32, thickness f
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if c.a != 255 {
|
||||||
|
sgl.load_pipeline(ctx.timage_pip)
|
||||||
|
}
|
||||||
|
|
||||||
mut a1 := start_angle
|
mut a1 := start_angle
|
||||||
mut a2 := end_angle
|
mut a2 := end_angle
|
||||||
|
|
||||||
@ -721,6 +725,10 @@ pub fn (ctx &Context) draw_arc_filled(x f32, y f32, inner_radius f32, thickness
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if c.a != 255 {
|
||||||
|
sgl.load_pipeline(ctx.timage_pip)
|
||||||
|
}
|
||||||
|
|
||||||
mut a1 := start_angle
|
mut a1 := start_angle
|
||||||
mut a2 := end_angle
|
mut a2 := end_angle
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user