mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
gpu: delete redundant drawOps.reset
Noticed by Steve Lam Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -677,7 +677,6 @@ func (d *drawOps) reset(cache *resourceCache, viewport image.Point) {
|
||||
}
|
||||
|
||||
func (d *drawOps) collect(cache *resourceCache, root *op.Ops, viewport image.Point) {
|
||||
d.reset(cache, viewport)
|
||||
clip := f32.Rectangle{
|
||||
Max: f32.Point{X: float32(viewport.X), Y: float32(viewport.Y)},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user