mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03: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
|
||||
}
|
||||
|
||||
if c.a != 255 {
|
||||
sgl.load_pipeline(ctx.timage_pip)
|
||||
}
|
||||
|
||||
mut a1 := start_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
|
||||
}
|
||||
|
||||
if c.a != 255 {
|
||||
sgl.load_pipeline(ctx.timage_pip)
|
||||
}
|
||||
|
||||
mut a1 := start_angle
|
||||
mut a2 := end_angle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user