mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
ui/app/internal/gpu: set the default material to black
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -686,8 +686,9 @@ func (d *drawOps) collect(cache *resourceCache, root *ui.Ops, viewport image.Poi
|
|||||||
}
|
}
|
||||||
d.reader.Reset(root)
|
d.reader.Reset(root)
|
||||||
state := drawState{
|
state := drawState{
|
||||||
clip: clip,
|
clip: clip,
|
||||||
rect: true,
|
rect: true,
|
||||||
|
color: color.RGBA{A: 0xff},
|
||||||
}
|
}
|
||||||
d.collectOps(&d.reader, state)
|
d.collectOps(&d.reader, state)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user