~eliasnaur/gio

9520a9278f4f757bda3bbed8c524404f3f6d4bc6 — Elias Naur 5 months ago c427597
ui/app/internal/gpu: set the default material to black

Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 files changed, 3 insertions(+), 2 deletions(-)

M ui/app/internal/gpu/gpu.go
M ui/app/internal/gpu/gpu.go => ui/app/internal/gpu/gpu.go +3 -2
@@ 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)
}