mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
op/clip,gpu,internal/opconst: remove quad count from Path op
The check for path segments in gpu is redundant; clip.Op.Add doesn't add the Path op if there were no segments. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -60,7 +60,7 @@ const (
|
||||
TypeClipLen = 1 + 4*4 + 1
|
||||
TypeProfileLen = 1
|
||||
TypeCursorLen = 1 + 1
|
||||
TypePathLen = 1 + 4
|
||||
TypePathLen = 1
|
||||
TypeStrokeLen = 1 + 4 + 4 + 1 + 1
|
||||
TypeDashLen = 1 + 4 + 1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user