mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/lines: remove duplicated code (#2713)
This commit is contained in:
parent
900b687f40
commit
f3023ae88e
@ -150,8 +150,6 @@ func (g *Game) drawLine(screen *ebiten.Image, region image.Rectangle, cap vector
|
||||
op.Width = 1
|
||||
vs, is := path.AppendVerticesAndIndicesForStroke(g.vertices[:0], g.indices[:0], op)
|
||||
for i := range vs {
|
||||
vs[i].SrcX = 1
|
||||
vs[i].SrcY = 1
|
||||
vs[i].SrcX = 1
|
||||
vs[i].SrcY = 1
|
||||
vs[i].ColorR = 1
|
||||
|
Loading…
Reference in New Issue
Block a user