mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +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)
|
||||
state := drawState{
|
||||
clip: clip,
|
||||
rect: true,
|
||||
clip: clip,
|
||||
rect: true,
|
||||
color: color.RGBA{A: 0xff},
|
||||
}
|
||||
d.collectOps(&d.reader, state)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user